in reply to Re: utf8 characters in Data::Dumper
in thread utf8 characters in Data::Dumper
(here I tried to paste the actual hiragana letter あ but it did not work out well inside the code markup.)You could use charnames, like this:
This works with PerlMonks, and if you use a web interface to your version control system, it will look nicer there than the "¿" or whatever gets displayed there.print Dumper encode 'utf8', "Hiragana Letter \N{HIRAGANA LETTER A}";
If your Perl is older than v5.16, it needs an explicit use charnames; to work
|
---|
In Section
Seekers of Perl Wisdom