Did you specify encoding attribute in xml declaration:
<?xml version="1.0" encoding="..."?>
If specified encoding is different from actual, you will get an error message. If you did not specify any encoding, UTF8/UTF-16 is assumed and if actual encoding is different from UTF8... then see the sentence above.
This link will give more details:
http://www.w3schools.com/xml/xml_encoding.asp