W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: XHR: restrictions on request headers

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 14 Apr 2006 20:18:39 +0000 (UTC)
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Web APIs WG <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0604142016280.21459@dhalsim.dreamhost.com>

On Fri, 14 Apr 2006, Bjoern Hoehrmann wrote:
> Unless it is somehow guranteed that the response is in UTF-8 or UTF-16 
> scripts would have to deal with this in any case since the response may 
> use an unsupported encoding no matter what the Accept-Charset header is 
> set to, especially if implementations don't use *;q=0 or equivalent.

responseText and responseXML are both UTF-16. If the UA can't decode the 
content, it can't make them available.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 14 April 2006 20:18:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT