On Thu, 22 Feb 2007 10:26:01 +0100, Bjoern Hoehrmann <[EMAIL PROTECTED]>
wrote:
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
REPLACEMENT CHARACTER.
There are many problems with this text.
I've fixed the relevant bits. This probably needs more testing though.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>