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
Comment on
Re: Permanent utf8
Download
Code
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.
[reply]
In Section
Seekers of Perl Wisdom