Bug 9783

Summary: An XML declaration without an explicit encoding incorrectly triggers UTF-8 encoding in an HTML document
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.utoronto.ca/webdocs/HTMLdocs/HTML_Spec/html.html

Alexey Proskuryakov
Reported 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.
Attachments
Alexey Proskuryakov
Comment 1 2006-09-01 12:30:45 PDT
Fixed in bug 5620, r16175.
Note You need to log in before you can comment on or make changes to this bug.