Details
Description
HTML files are detected as utf-16 when meta content is set to "unicode".
<meta http-equiv="Content-Type" content="text/html; charset="unicode">
Shouldn't the default be utf-8?
The attached sample file is shown correctly in:
Chromium Version 55.0.2883.75
Firefox 50.1.0
IE 11
I am aware that there is no charset "unicode" (available character encodings: http://www.iana.org/assignments/character-sets/character-sets.xhtml)
Unfortunately there are many wrong encodings used out there.
All unknown encodings should be validated or at least be set to default utf-8.
Regards
Andreas
Attachments
Attachments
Issue Links
- causes
-
TIKA-2758 Possible error charset detection
- Open