Tika does not use the HTML5 meta charset tag when determining charset
---------------------------------------------------------------------
Key: TIKA-892
URL: https://issues.apache.org/jira/browse/TIKA-892
Project: Tika
Issue Type: Improvement
Components: parser
Affects Versions: 1.2
Environment: Any
Reporter: Chris Jones
HTML5 introduced a new way of specifying the charset for an HTML document:
<meta charset="utf-8"/>
The code in HtmlParser only looks for the HTML4 style meta http-equiv tag:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira