AutoDetectParser ignores charset in Content-Type metadata ---------------------------------------------------------
Key: TIKA-544 URL: https://issues.apache.org/jira/browse/TIKA-544 Project: Tika Issue Type: Bug Affects Versions: 0.7 Reporter: Ken Krugler Assignee: Ken Krugler Fix For: 0.8 AutoDetectParser.parse() does this: MediaType type = detector.detect(stream, metadata); metadata.set(Metadata.CONTENT_TYPE, type.toString()); So the charset in the Metadata.CONTENT_TYPE is blown away. On entry to the parser, it should pick this apart and set the Metadata.CONTENT_ENCODING if it's null, and the content-type has charset info. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.