XHR: Unicode signature stripping


  In http://www.w3.org/TR/2010/CR-XMLHttpRequest-20100803/ section
3.7.5. does not explicitly call out that the bytes corresponding to
the Unicode signature are treated as Unicode signature and are thus
stripped from the input. It should.

I do note that failing to discriminate between types that allow for
a Unicode signature and types that do not creates interoperability
problems. application/json for instance prohibits using it, and as
a consequence many parsers reject it, whereas using it would appear
to work fine in "AJAX" setups.

Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Tuesday, 5 October 2010 03:32:41 UTC