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

Re: [XHR] responseType "json"

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 05 Dec 2011 16:20:31 +0100
To: Glenn Adams <glenn@skynav.com>
Cc: WebApps WG <public-webapps@w3.org>
Message-ID: <lhnpd7lk0um0g5fhiladq3ijh2p4h5i5gb@hive.bjoern.hoehrmann.de>
* Glenn Adams wrote:
>What do you mean by "treat content that clearly is UTF-32 as
>UTF-16-encoded"? Do you mean interpreting it as a sequence of unsigned
>shorts? That would be a direct violation of the semantics of UTF-32, would
>it not?

Consider you have

  ...
  Content-Type: example/example;charset=utf-32

  FF FE 00 00 ...

Some would like to treat this as UTF-16 encoded document starting with
U+0000 after the Unicode signature, even though it clearly is UTF-32.
-- 
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 Monday, 5 December 2011 15:21:07 GMT

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