Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Robert Urban
April 23, 2009, 12:05 am
rate this thread
if I run the following script:
use Encode qw/decode/;
my $string = "B36rsen Feiertag";
my $tmp = decode('utf8', $string, 1);
print "string=[$string], tmp=[$tmp]\n";
I get the following output:
string=, tmp=[B?sen Feiertag]
What happened to $string? There is no mention of side-effects in the Encode
manpage... This only happens when CHECK is set to 1.