$_ = decode('utf-8', "\N{LATIN SMALL LETTER A WITH ACUTE}"); say encode('utf8', $_); # Replacement character EFBFBD. say encode('utf8', decode('Latin-1', $_)); # Dies.