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.
An Englishman in New York
An American Werewolf in London
An American in Paris
The Innocents Abroad
An Idiot Abroad
Robinson Crusoe on Mars
A Connecticut_Yankee in King Arthur's Court
There and Back Again
Travels into Several Remote Nations of the World
Results (88 votes). Check out past polls.