Hmm, that's quite odd. I'd highly recommend you to keep your XML file header. The XML header isn't actually part of the document, it simply tells the parser what it is. Maybe you have to specify the file encoding in the header to make it work properly?
Example:
xml code:
<?xml version="1.0" encoding="UTF-16" ?>