[prev in list] [next in list] [prev in thread] [next in thread] 

List:       whatwg
Subject:    Re: [whatwg] Character encoding of document.open()ed documents
From:       Boris Zbarsky <bzbarsky () MIT ! EDU>
Date:       2010-03-31 19:11:28
Message-ID: 4BB39E60.9020009 () mit ! edu
[Download RAW message or body]

On 3/31/10 10:37 AM, Henri Sivonen wrote:
> Gecko sets the document's character encoding to UTF-8 and uses UTF-8 to decode the \
> external resource.

One more clarifying question.... Does Gecko use UTF-8, or the encoding 
of whatever document it was open() got called on?

> WebKit uses the encoding of the opener. IE8 (both with compat view button pressed \
> and not pressed) sets the document's character encoding to "unicode" and uses UTF-8 \
> to decode the external resource. Opera uses Windows-1252 to decode the external \
> resource.

Similar question for IE.

> > > None of IE, WebKit or Opera let the meta charset in a document.open()ed \
> > > document have any effect
> > 
> > As in, it doesn't affect how external resources with no encoding labels are \
> > handled?
> 
> Right.

OK.

-Boris


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic