tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aldo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-2248) How to set up the content encoding
Date Fri, 20 Jan 2017 14:58:26 GMT
Aldo created TIKA-2248:
--------------------------

             Summary: How to set up the content encoding
                 Key: TIKA-2248
                 URL: https://issues.apache.org/jira/browse/TIKA-2248
             Project: Tika
          Issue Type: Wish
            Reporter: Aldo


If I try to set up content encoding with

Metadata metadata = new Metadata();
metadata.add(Metadata.CONTENT_ENCODING, DATAFILE_CHARSET);
String parsedString = tika.parseToString(inputStream, metadata);

metadata CONTENT_ENCODING is ignored;

How I can force Tika to use CONTENT_ENCODING setted in metadata?
Thank you.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message