[
https://issues.apache.org/jira/browse/TIKA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Krugler reassigned TIKA-1248:
---------------------------------
Assignee: Ken Krugler
> CharsetDetector.getReader method doesn't support empty/null declaredEncoding
> ----------------------------------------------------------------------------
>
> Key: TIKA-1248
> URL: https://issues.apache.org/jira/browse/TIKA-1248
> Project: Tika
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Nicolas Gavalda
> Assignee: Ken Krugler
> Priority: Minor
> Fix For: 1.6
>
>
> The javadoc of the CharsetDetector.getReader method states that the
> declaredEncoding parameter can be null or empty. However, providing such
> values throws an exception (IllegalArgumentException or
> IllegalCharsetNameException).
> Either the javadoc should be updated to match this behavior, or the bug
> should be fixed (even if the method seems not to be used internally).
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)