in reply to Re: LWP::UserAgent; unable to copy extended ASCII
in thread LWP::UserAgent; unable to copy extended ASCII
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