- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Thu, 22 Nov 2012 02:47:05 +0100
- To: John Cowan <cowan@mercury.ccil.org>
- Cc: www-international@w3.org
Leif Halvard Silli, Thu, 22 Nov 2012 02:27:31 +0100: >> If there is no XML declaration in a 16-bit >> format document, it is necessarily UTF-16, and XML requires a BOM in >> that case. > > First: An external protocol could declare the LE/BE encoding. > Second: When there is an an external declaration which says "UTF-16", > then the requirement to include a BOM is relaxed. The parser > could e.g. default to UTF-16LE, as Unicode says. Uh - meant "to UTF-16BE, as Unicode says", of course. > [1] http://www.w3.org/TR/2008/REC-xml-20081126/#charencoding -- leif halvard silli
Received on Thursday, 22 November 2012 01:47:35 UTC