in reply to utf8 && XML::Simple
my $str = "hi"; # hi is a notmal string.
$str .= chr(0x1234); # str is now a utf8 string
Encode::decode_utf8($str, 1); # here you get the error.
Yes, I watch meteor showers
No, I do not watch meteor showers
My meteors prefer to bathe
Results (187 votes). Check out past polls.