![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^2: LWP::UserAgent; unable to copy extended ASCIIby haj (Priest) |
on Jun 06, 2022 at 11:31 UTC ( #11144447=note: print w/replies, xml ) | Need Help?? |
Nitpick: "Unicode" is the name of the concept, not of a particular encoding. The character é can be represented in a variety of encodings, including good ol' ISO-8859-1. So... Perl doesn't complain about a wide character in this case. The remedy is correct as given: You want to print in the encoding which is understood by the print handle. This is indeed UTF-8 for "modern" Linux terminals.
In Section
Seekers of Perl Wisdom
|
|