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: Sun, 04 Dec 2011 20:14:30 +0100
Message-ID: <4EDBC696.9040005@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: WebApps WG <public-webapps@w3.org>, Henri Sivonen <hsivonen@iki.fi>
On 2011-12-04 16:52, Anne van Kesteren wrote:
> On Fri, 02 Dec 2011 17:03:37 +0100, Henri Sivonen <hsivonen@iki.fi> wrote:
>> Does anyone actually transfer JSON as UTF-16?
>
> Note that you cannot transmit UTF-16 JSON from a page (sending text is
> UTF-8 only) so not being able to receive it either seems fine. I
> actually think that we should make "text" UTF-8-only too to enforce this
> symmetry.

I think you're confusing client abilities with server abilities. Just 
because XHR can't *send* Json as UTF-16 doesn't mean servers don't send 
it to clients.

It appears this needs more research.

Best regards, Julian
Received on Sunday, 4 December 2011 19:15:12 GMT

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