Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.1
-
None
Description
QTextCodec::codecForHtml tries charset detection only in the first 512 bytes of the document, but the current HTML5 specification allows charset meta headers in the first 1024 bytes: http://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-40383 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
92639,2 | QTextCodec::codecForHtml looks at the first 1024 bytes | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |