CLOSED INVALID 37629
XHTML document with encoding="default" displays unsupported encoding error
https://bugs.webkit.org/show_bug.cgi?id=37629
Summary XHTML document with encoding="default" displays unsupported encoding error
David Kilzer (:ddkilzer)
Reported 2010-04-14 18:04:52 PDT
* SUMMARY When loading an XHTML document with an <?xml?> tag that specifies encoding="default", WebKit returns an unsupported encoding error. The same page loads fine in Firefox 3.5.8. * STEPS TO REPRODUCE 1. Open test case in Safari. * RESULTS Error page is displayed: This page contains the following errors: error on line 1 at column 37: Unsupported encoding default Below is a rendering of the page up to the first error. * REGRESSION Unknown. Tested with a local debug build of WebKit r57418.
Attachments
Test case with invalid encoding ("default") (277 bytes, application/xhtml+xml)
2010-04-14 18:05 PDT, David Kilzer (:ddkilzer)
no flags
Test case with invalid encoding ("default") and charset override (277 bytes, application/xhtml+xml; charset=iso-8859-1)
2010-04-14 18:18 PDT, David Kilzer (:ddkilzer)
no flags
Test case with valid encoding ("utf-8") and charset override (275 bytes, application/xhtml+xml; charset=iso-8859-1)
2010-04-15 10:38 PDT, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2010-04-14 18:05:26 PDT
Created attachment 53392 [details] Test case with invalid encoding ("default")
David Kilzer (:ddkilzer)
Comment 2 2010-04-14 18:06:35 PDT
David Kilzer (:ddkilzer)
Comment 3 2010-04-14 18:18:10 PDT
Created attachment 53394 [details] Test case with invalid encoding ("default") and charset override
David Kilzer (:ddkilzer)
Comment 4 2010-04-15 10:38:42 PDT
Created attachment 53449 [details] Test case with valid encoding ("utf-8") and charset override
Alexey Proskuryakov
Comment 5 2010-04-19 10:25:34 PDT
Alexey Proskuryakov
Comment 6 2010-05-18 10:48:22 PDT
Firefox developers agreed that this is their bug. There doesn't seem to be enough compatibility pressure for us to adopt this quirk.
David Kilzer (:ddkilzer)
Comment 7 2010-05-18 10:55:36 PDT
Closing.
Note You need to log in before you can comment on or make changes to this bug.