in reply to Re^2: UTF8 and XMLin thread UTF8 and XML
No, you removed the encoding. While XML::Simple properly decodes when parsing XML, it doesn't encode when generating XML. (That's a bug. I called it a "weird interface" earlier.)