Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: LWP::UserAgent; unable to copy extended ASCII

by haj (Priest)
on Jun 06, 2022 at 11:31 UTC ( #11144447=note: print w/replies, xml ) Need Help??


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.

  • Comment on Re^2: LWP::UserAgent; unable to copy extended ASCII

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144447]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2023-03-24 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (61 votes). Check out past polls.

    Notices?