[ 
https://issues.apache.org/jira/browse/TIKA-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791113#action_12791113
 ] 

Ken Krugler commented on TIKA-352:
----------------------------------

That's very strange. The change is in my code. I can see in my Terminal where I 
ran the "mvn clean install" right before "git diff" to generate the patch.

I would have expected one of the TXTParser tests to fail, if the changed 
MediaType.java source file hadn't been saved in Eclipse.

> Use MediaType.parse when extracting charset from content-type metadata in 
> parsers
> ---------------------------------------------------------------------------------
>
>                 Key: TIKA-352
>                 URL: https://issues.apache.org/jira/browse/TIKA-352
>             Project: Tika
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Ken Krugler
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: TIKA-352.patch
>
>
> Both HtmlParser and TXTParser have their own code to extract the charset from 
> a content-type metadata string. They should be using MediaType.parse to do 
> this.

-- 
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