[whatwg] [encoding] utf-16

Henri Sivonen hsivonen at iki.fi
Mon Jan 2 07:26:55 PST 2012


On Tue, Dec 27, 2011 at 4:52 PM, Anne van Kesteren <annevk at opera.com> wrote:
> I ran some utf-16 tests using 007A as input data, optionally preceded by
> FFFE or FEFF, and with utf-16, utf-16le, and utf-16be declared in the
> Content-Type header

I suggest testing with zero, one, two and three BOMs. I'd expect Gecko
to have a bug that causes it to remove *two* BOMs but not more than
that.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/


More information about the whatwg mailing list