On 01/24/2012 05:14 PM, Rémi Forax wrote: > it doesn't work. As an example try to specify utf-16 as encoding of an XML file. Works for me in Chrome and Xerces, even if there is no BOM. http://www.w3.org/TR/2008/REC-xml-20081126/#sec-guessing