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


in reply to utf8 characters in Data::Dumper

Popular question, no good solutions found... My simple is:

print Dumper(%mydata) =~ s/\\x\{([0-9a-f]{2,})\}/chr hex $1/ger;

Replies are listed 'Best First'.
Re^2: utf8 characters in Data::Dumper
by haukex (Archbishop) on Jan 24, 2020 at 09:21 UTC
Re^2: utf8 characters in Data::Dumper
by ikegami (Patriarch) on Jan 25, 2020 at 10:24 UTC

    That's buggy. Consider the situation where someone has the string \x{0A}, such as the content of this post.