- From: Anne van Kesteren <annevk@opera.com>
- Date: Wed, 12 Dec 2007 18:11:54 +0100
- To: "Boris Zbarsky" <bzbarsky@mit.edu>
- Cc: public-webapi@w3.org, public-i18n-core@w3.org
On Thu, 06 Dec 2007 18:21:05 +0100, Boris Zbarsky <bzbarsky@MIT.EDU> wrote: > 1) Gecko always sends a DOMString 'data' as UTF-8. The Content-Type > header being sent is changed as needed if it does not already contain > charset=UTF-8 (up to case, etc). Added. > 2) When 'data' is a Document, it's encoded using the inputEncoding. > This may not match the xmlEncoding if the document was served over HTTP > and there was a Content-Type header that specified a different encoding > from the XML declaration. The XML declaration, if any, in the > serialization specifies the actual encoding used when serializing. The > XMLHttpRequest Content-Type header is also adjusted to specify the same > encoding. Added. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Wednesday, 12 December 2007 17:10:51 UTC