[
https://issues.apache.org/jira/browse/TIKA-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomas Safarik closed TIKA-952.
------------------------------
Resolution: Duplicate
> HTML meta tags ignored for encoding detection
> ---------------------------------------------
>
> Key: TIKA-952
> URL: https://issues.apache.org/jira/browse/TIKA-952
> Project: Tika
> Issue Type: Bug
> Components: general
> Affects Versions: 1.1
> Reporter: Tomas Safarik
>
> Hello,
> I have Czech HTML files that contain meta tag with correct encoding
> (windows-1250) but Tika ignores that and detects ISO-8859-2 and some times
> even ISO-8859-9 (turkish). Which causes wrong diacritics processing.
> Shouldn't it rather respect what HTML meta tag declares?
> HTML file header:
> <meta http-equiv=Content-Type content="text/html; charset=windows-1250">
> Tika detected metadata:
> Content-Encoding: ISO-8859-2
> Content-Type: text/html; charset=windows-1250
> I am not sure if I am reporting correctly. I will be happy to provide more
> infromation if necessary.
> Thanks,
> Tomas
--
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