Actually, if you are using a modern (5.8) perl, the internal format is utf8 (or close enough, IIRC it is actually a superset of utf8).
On output though, unless you specify that you want utf8, perl will convert the data back to ISO-8859-1, if possible. Telling perl to output the data in utf8 is done, as ikegami mentioned, using the binmode function.
In reply to Re: XML::Parser - Keep Encoding?
by mirod
in thread XML::Parser - Keep Encoding?
by Doron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |