Home Forums General XMetaL Discussion XMetaL 5.5 does not correctly detect UTF-8? Anyone know if new versions do? Reply To: XMetaL 5.5 does not correctly detect UTF-8? Anyone know if new versions do?

AryehSanders

Reply to: XMetaL 5.5 does not correctly detect UTF-8? Anyone know if new versions do?

Our actual documents do have a valid DOCTYPE.  This file is just a minimal test case.  XMetaL handles the characters the same way with a DOCTYPE and without.  If there is neither an xml declaration (http://www.w3.org/TR/2008/REC-xml-20081126/#charencoding), it says “it is a fatal error… for an entity which begins with neither a Byte Order Mark nor an encoding declaration to use an encoding other than UTF-8.”  Latin1 isn't a really an option.  The spec does not require a BOM or an xml declaration, even though it does recommend the xml declaration.

Thanks again.

Reply

Products
Downloads
Support