in reply to Re^2: Lost in encoding in Twig
in thread Lost in encoding in Twig

I thought to have seen somewhere that since something like 5.16 use utf8 wad the default.
Unfortunately, no.

from your other post

do you want to tell that for each operation in perl, and particularly for IO, I MUST specify utf8?
Yes.
Is there today another coding than utf8?
Yes, but utf-8 surely would be a more useful default.
Is not it possible to specify that all is utf8 (unless exceptions) at computer level ? or at least at perl level, or at least at script level ?
Perhaps utf8::all will be suitable for you.

Replies are listed 'Best First'.
Re^4: Lost in encoding in Twig
by pcouderc (Monk) on Jan 09, 2015 at 22:32 UTC
    utf8::all seemed very fine but ... does not work !
    Same result...
      Sorry my mistake, I did put
      utf8::all; ## wrong
      before "use strict"; and so I got no perl error.
      If I put it after "use strict", I get an error ans I correct to :
      use utf8::all;
      and now all is fine, and Clémence is beautiful.
        LOL, OK. I was actually going to investigate why utf8::all didn't work :)