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


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:
print Dumper encode 'utf8', "Hiragana Letter \N{HIRAGANA LETTER A}";
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.

If your Perl is older than v5.16, it needs an explicit use charnames; to work