Re: XHR and document.xmlEncoding

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
<http://annevankesteren.nl/>
<http://www.opera.com/>

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