You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2010/07/08 01:36:50 UTC
[jira] Closed: (TIKA-359) Calls to Charset.isSupported() will throw
exceptions for invalid charset names
[ https://issues.apache.org/jira/browse/TIKA-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken Krugler closed TIKA-359.
----------------------------
Resolution: Duplicate
This was fixed by [TIKA-454]
I'm opening a new issue to roll in my improvements to the charset detection code.
> Calls to Charset.isSupported() will throw exceptions for invalid charset names
> ------------------------------------------------------------------------------
>
> Key: TIKA-359
> URL: https://issues.apache.org/jira/browse/TIKA-359
> Project: Tika
> Issue Type: Bug
> Affects Versions: 0.5, 0.6, 0.7
> Reporter: Ken Krugler
> Assignee: Ken Krugler
> Fix For: 0.8
>
>
> The HtmlParser and TXTParser code currently call Charset.isSupported() to determine if charset hint info (from meta tags or incoming metadata).
> But this method throws IllegalCharsetNameException for unknown (versus unsupported) encoding names, which kills the parsing process.
> What's needed is a wrapper that catches this exception and returns false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.