Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Permanent utf8

by PerlSufi (Friar)
on Jul 10, 2014 at 15:15 UTC ( [id://1093075]=note: print w/replies, xml ) Need Help??


in reply to Permanent utf8

This thread: https://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8-by-default
seems to have insight as to why. Particlarly tchrist's post if you scroll down..
His first recommendation is to set your PERL_UNICODE env variable to  AS

Replies are listed 'Best First'.
Re^2: Permanent utf8
by Anonymous Monk on Jul 10, 2014 at 15:44 UTC
    And yet, even if we do everything that tchrist recommended, something as simple as "... or die $!;" will easily produce mojibake if STDERR is utf-8.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found