[whatwg] U+FEFF (BOM) stripping in UTF-16BE and UTF-16LE

On Wed, 9 Sep 2009, ?istein E. Andersen wrote:
> ? "Preprocessing the input stream" requires that a leading 
> U+FEFF (byte order mark) be stripped irrespective of encoding, contra 
> Unicode, which says that a leading U+FEFF is part of the document when 
> the byte order is already established by other means.  This is probably 
> harmless and potentially useful to deal with bislabelled documents, but 
> it might be worth adding an explanatory note.


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 14 September 2009 20:42:31 UTC