No such thing as a small change | |
PerlMonks |
Re^2: creating an XML stringby Joost (Canon) |
on Dec 28, 2004 at 18:10 UTC ( [id://417807]=note: print w/replies, xml ) | Need Help?? |
Nasty :-)
It won't work if the argument to encode() is in LATIN-1, and your XML file is UTF-8. update:... hmmmmmm it appears that the "most reasonable" approach would be simply and do the character encoding seperately using Encode, or let the filehandle figure it out.
In Section
Seekers of Perl Wisdom
|
|