Don't ask to ask, just ask | |
PerlMonks |
Re^3: Perl code for XML/HTML entities:by mirod (Canon) |
on Jul 18, 2013 at 15:36 UTC ( [id://1045125]=note: print w/replies, xml ) | Need Help?? |
This is most likely an encoding problem. Find out which encoding the data is in, and either declare the encoding at the top of the XML file using an XML declaration, or convert the data to UTF-8 before feeding it to the parser. If you're in the US/UK, the encoding is probably ISO-8859-1 (or ISO-8859-15 if the data includes the euro symbol).
In Section
Seekers of Perl Wisdom
|
|