This encoding is not mandated by the XML specification: foo

The XML specification requires XML processors to support two encodings: UTF-8 and UTF-16. Although most will support many more, any compliant processor must support these two.

For standards-guaranteed compatibility, use either UTF-8 or UTF-16 to encode your XML.