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

Re: [XHR] responseType "json"

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 02 Dec 2011 15:08:22 +0100
Message-ID: <4ED8DBD6.4010007@gmx.de>
To: Robin Berjon <robin@berjon.com>
CC: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
On 2011-12-02 14:41, Robin Berjon wrote:
> On Dec 2, 2011, at 14:00 , Anne van Kesteren wrote:
>> I tied it to UTF-8 to further the fight on encoding proliferation and encourage developers to always use that encoding.
>
> That's a good fight, but I think this is the wrong battlefield. IIRC (valid) JSON can only be in UTF-8,16,32 (with BE/LE variants) and all of those are detectable rather easily. The only thing this limitation is likely to bring is pain when dealing with resources outside one's control.

If there's agreement that UTF-8 should be mandated for JSON then this 
should apply to *all* of JSON, not only this use case.

Best regards, Julian
Received on Friday, 2 December 2011 14:09:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:49 GMT