Re: XHR: restrictions on request headers

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 UTC