You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/12/13 02:20:18 UTC

[jira] Updated: (TIKA-338) Trying to use -encoding parameter alwyas results in an exception

     [ https://issues.apache.org/jira/browse/TIKA-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated TIKA-338:
-------------------------------

    Fix Version/s:     (was: 0.6)

> 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
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.