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

Re: XHR and document.xmlEncoding

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 19 Nov 2006 15:25:07 +0100
To: "Alexey Proskuryakov" <ap-carbon@rambler.ru>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.ti9oz5d064w2qv@id-c0020>

On Sun, 19 Nov 2006 15:00:08 +0100, Alexey Proskuryakov  
<ap-carbon@rambler.ru> wrote:
> The current XMLHttpRequest draft says that when a Document is being  
> sent, "it MUST be serialized using the encoding given by  
> data.xmlEncoding, if specified and supported, or UTF-8 otherwise."
> However, I'm not seeing this behavior in Firefox 2 - it seems to always  
> encode sent documents as UTF-8. Is this something that has been already  
> discussed, and decided in favor of the new behavior? I'm feeling  
> somewhat reluctant to break Firefox compatibility (WebKit didn't support  
> xmlEncoding before, and thus also encoded documents as UTF-8).

I'm fine with always serializing to UTF-8 if that's what browsers do. One  
less character encoding issue for authors to deal with. :-)

Anne van Kesteren
Received on Sunday, 19 November 2006 14:25:38 UTC

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