What is the default encoding of an XML document?
If no encoding declaration is present in the XML document (and no external encoding declaration mechanism such as the HTTP header is available), the assumed encoding of an XML document depends on the presence of the Byte-Order-Mark (BOM). The BOM is a Unicode special marker placed at the top of the file that indicate its encoding. The BOM is optional for UTF-8.