W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

XHR: Unicode signature stripping

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 05 Oct 2010 05:25:20 +0200
To: public-webapps@w3.org
Message-ID: <9v5la6pjsjv0q7qk188hiker35ajfj14aa@hive.bjoern.hoehrmann.de>

  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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:13 UTC