You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Aldo (JIRA)" <ji...@apache.org> on 2017/01/20 14:58:26 UTC

[jira] [Created] (TIKA-2248) How to set up the content encoding

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)