W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Charset sniffing from XML prolog

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Thu, 8 Oct 2009 22:34:02 +1100
Message-ID: <2c0e02830910080434j1b6d0ccle225e88094a17317@mail.gmail.com>
On Thu, Oct 8, 2009 at 12:35 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 10/7/09 9:29 PM, Kartikaya Gupta wrote:
>>
>> Using document.inputEncoding:
>> http://stakface.com/pub/mango/fakexml.html
>> http://stakface.com/pub/mango/fakexml_iso.html
>>
>> Using a degree symbol in UTF-8:
>> http://stakface.com/pub/mango/fakexml2.html
>> http://stakface.com/pub/mango/fakexml2_iso.html
>
> All of those end up ISO-8859-1 for me on Mac (using default encoding of
> ISO-8859-1, auto-detect off, no extensions funny business, never visited the
> page before or anything).

Firefox 3.7a1pre shows UTF-8 on these on the Mac.

Regards,
Silvia.
Received on Thursday, 8 October 2009 04:34:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:53 UTC