Bug 9783 - An XML declaration without an explicit encoding incorrectly triggers UTF-8 encoding in an HTML document
Summary: An XML declaration without an explicit encoding incorrectly triggers UTF-8 en...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.utoronto.ca/webdocs/HTMLdo...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-08 02:59 PDT by Alexey Proskuryakov
Modified: 2006-09-01 12:30 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2006-07-08 02:59:20 PDT
Steps to reproduce:
1) Open the bug URL

Results: many black diamond marks.
Expected results: renders OK in Firefox.

My initial guess is that WebKit sees an XML declaration in this document (<?xml version="1.0"?>) and switches to UTF-8 - while Firefox presumably only does this for XML documents.
Comment 1 Alexey Proskuryakov 2006-09-01 12:30:45 PDT
Fixed in bug 5620, r16175.