Improved content encoding detection.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
get_encodings_from_content() can now detect HTML in-document content encoding declarations in the following formats: - HTML5 - HTML4 - XHTML 1.x served with text/html MIME type - XHTML 1.x served as XML
authored by Jon Parise · committed by Jon Parise · parent d991fb0 · Browse files · 2 files+49 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Ref: http://www.w3.org/International/questions/qa-html-encoding-declarations
Diff stats
2 files+49 added−1 removed
- other:+49 added−1 removed