CC: | smash [...] cpan.org |
Subject: | Wide character in print |
Hello
I think (not 100% sure, though) that this is a regression, as I think this worked previously. In any case, when writing UTF8 to a Bz2 file, it complains with a wide character in print.
a simple test in attach.
The question is: how to solve this? ;-)
Cheers
ambs
Subject: | _.pl |
#!/usr/bin/perl
use IO::Compress::Bzip2;
use utf8;
my $str = "ãÃòÃçyÅ";
my $z = new IO::Compress::Bzip2 "tmp.bz2" or die;
select $z;
binmode $z, ":utf8"; #noop accordingly with docs
print $str;
close $z;