Skip Menu |

This queue is for tickets about the Data-Dump CPAN distribution.

Report information
The Basics
Id: 88396
Status: open
Priority: 0/
Queue: Data-Dump

People
Owner: Nobody in particular
Requestors: kes-kes [...] yandex.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: allow to dump utf8
if I have utf8 symbol I get { abc => "\x{434}\x{432}\x{430}" } use utf8; use Data::Dump qw( pp ); my $data = { abc => 'два' }; pp $data; allow to configure to print at utf8 or check terminal to support it
+1 to this. By not dumping UTF-8 strings, it makes Perl to store the strings internally different in some special cases, such as: use utf8; use 5.010; use Data::Dump; my $str1 = "møøse"; my $str2 = eval(Data::Dump::pp($str1)); use bytes; say bytes::length($str1); # => 7 say bytes::length($str2); # => 5