Don't ask to ask, just ask | |
PerlMonks |
Re: encoding troubleby Your Mother (Archbishop) |
on Apr 26, 2019 at 14:48 UTC ( [id://1233020]=note: print w/replies, xml ) | Need Help?? |
Essentially, you are reencoding UTF-8 as UTF-8. This is an alternative example of what's going on with the O being the output layer– perl -E 'say "äöüÄÖÜß"' äöüÄÖÜß perl -CO -E 'say "äöüÄÖÜß"' äöüÃÃÃà Add this to your script, use open ":std", ":encoding(utf8)"; open explains what's going on.
In Section
Seekers of Perl Wisdom
|
|