[whatwg] Charset sniffing from XML prolog

Kartikaya Gupta lists.whatwg at stakface.com
Wed Oct 7 17:22:22 PDT 2009


On Wed, 07 Oct 2009 20:04 -0400 L. David Baron wrote:

> Maybe you've configured UTF-8 as the fallback encoding?  It's a preference (and its default value varies between localizations).
> 
> Tools -> Options -> Content -> Fonts & Colors -> Character Encoding
> -> Default Character Encoding.  (For other platforms, change Tools 
> -> Options to Edit -> Preferences (GNOME-based platforms) or Firefox 
> -> Preferences (Mac).)

Nope, the default there is ISO-8859-1. Also, if I mangle the XML prolog (e.g. change it to encoding="ut", or remove the version) I get ISO-8859-1 out of the alert dialog.

kats


More information about the whatwg mailing list