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 Loading | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Fixed in bug 5620, r16175.