You have to tell the XML parser used by XML::Simple that your data is in ISO-8859-1 (that's latin1 for the rest of us), otherwise your data is NOT XML.
Add this XML declaration at the top of your XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>But don't think that's enough... the parser (expat) will convert your data to utf8, so when you output it you might want to convert it back to latin1. Look at Unicode and locales for a recent thread on the subject.
In reply to Re: XML Simple Charset Q?
by mirod
in thread XML Simple Charset Q?
by dingus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |