tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Krugler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (TIKA-387) htmlparser throws IllegalCharsetNameException
Date Thu, 11 Mar 2010 14:53:27 GMT

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

Ken Krugler updated TIKA-387:

    Attachment: CharsetUtils.java

Piotr - thanks for reporting this. I'd run into the same issue, and created some utilities
in Bixo that I'd forgotten needed to be rolled into Tika.

I've attached the file, will turn this into a patch soon.

This also contains code that fixes up common "broken charset name" problems I'd run into while
using Bixo to do a big crawl.

> htmlparser throws IllegalCharsetNameException
> ---------------------------------------------
>                 Key: TIKA-387
>                 URL: https://issues.apache.org/jira/browse/TIKA-387
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.6
>            Reporter: Piotr B.
>         Attachments: CharsetUtils.java
> Charset.isSupported throws IllegalCharsetNameException if charset name is malformed.
HtmlParser tries to retrieve a charset from http_equiv section, so tika shouldn't suppose
this charset to be valid and should catch that exception.

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

View raw message