W3C home > Mailing lists > Public > public-webapi@w3.org > February 2007

Re: XHR: responseText encoding detection

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 24 Feb 2007 10:13:40 +0100
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>, public-webapi@w3.org
Message-ID: <op.tn8w82wl64w2qv@id-c0020.driveway.uu.nl>

On Thu, 22 Feb 2007 10:26:01 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>  
>   For responseText the current draft says:
>   If the response includes a Content-Type understood by the user agent
>   the characters are encoded following the relevant media type
>   specification, with the exception that the rule in the final paragraph
>   of section 3.7.1 of [RFC2616], and the rules in section 4.1.2 of
>   [RFC2046] must be treated as if they specified the default character
>   encoding as being UTF-8. Invalid bytes must be converted to U+FFFD
> There are many problems with this text.

I've fixed the relevant bits. This probably needs more testing though.

Anne van Kesteren
Received on Saturday, 24 February 2007 09:13:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC