In my UTF-8 text Perl script file, I have the following text (obtained by opening and reading another txt document):
$str = "F'252'r ('8364')"
Numbers in between the '
quotes are unicodes in decimal. For the above example, ü
and €
respectively.
What is the code required to produce a string so that the editor displays it as: “Für (€)”
I have tried using Encode::encode
, Encode::decode
, pack
and unpack
.