A
August Karlstrom
Hi,
I'm trying to make Dumper display an UTF-8 string but I can't get it to
work:
$ cat test.pl
#!/usr/bin/perl -w
use strict;
use Data:umper;
use utf8;
binmode(STDOUT, ":utf8");
my $s = "\x{263a}";
print "$s\n";
print Dumper($s);
print Dumper("☺");
$ ./test.pl
☺
$VAR1 = "\x{263a}";
$VAR1 = "\x{263a}";
Any clues?
Regards,
August
I'm trying to make Dumper display an UTF-8 string but I can't get it to
work:
$ cat test.pl
#!/usr/bin/perl -w
use strict;
use Data:umper;
use utf8;
binmode(STDOUT, ":utf8");
my $s = "\x{263a}";
print "$s\n";
print Dumper($s);
print Dumper("☺");
$ ./test.pl
☺
$VAR1 = "\x{263a}";
$VAR1 = "\x{263a}";
Any clues?
Regards,
August