Trying to use -encoding parameter alwyas results in an exception
----------------------------------------------------------------

                 Key: TIKA-338
                 URL: https://issues.apache.org/jira/browse/TIKA-338
             Project: Tika
          Issue Type: Bug
          Components: cli
            Reporter: Peter Wolanin
             Fix For: 0.6



There is a logical error in the CLI code - -encoding can never work and always 
results in an exception

$ java -jar tika-app/target/tika-app-0.6-SNAPSHOT.jar -encoding=UTF-8 -t 
test.txt 

Exception in thread "main" java.io.UnsupportedEncodingException: ncoding=UTF-8
        at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:42)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to