http://www.perlmonks.org?node_id=1090875


in reply to Re^4: Default encoding rules leave me puzzled... (use open qw/ :std :locale /;
in thread Default encoding rules leave me puzzled...

I mean, else, why would a string internally stored as UTF-8 be converted to Latin-1 when sent to the standard output ?

Because you are printing the string, not its internal representation. The layout of a scalar is irrelevant.

  • Comment on Re^5: Default encoding rules leave me puzzled... (use open qw/ :std :locale /;