[Webkit-unassigned] [Bug 201545] [GTK] Fails to render iso-8859-1 pages with special characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 09:17:04 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201545

--- Comment #9 from Alexey Proskuryakov <ap at webkit.org> ---
> Whether Chrome treats it as HTML or XHTML, the document displays fine in Chrome. (Same for Firefox.)

That's the point of this bug - it's about incorrect content type being used in Gtk, not about XHTML parsing.

If you change this file's extension to .xhtml, then all browsers start hitting this error. With .html, it's only Epiphany, because it incorrectly parses the file as XML.

> but the meta has content="application/xhtml+xml; charset=iso-8859-1". Isn't this enough?

Not with XML, see <https://www.w3.org/International/questions/qa-html-encoding-declarations> (or relevant specs):

"An XHTML5 document is served as XML and has XML syntax. XML parsers do not recognise the encoding declarations in meta elements. They only recognise the XML declaration."

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190911/e5d74db0/attachment.html>


More information about the webkit-unassigned mailing list