commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <>
Subject [jira] Commented: (CONFIGURATION-164) Charset detection
Date Mon, 18 Feb 2008 10:00:34 GMT


Joerg Schaible commented on CONFIGURATION-164:

That algorithm seems bloated for our use case, since it also tries to extract the encoding
from the HTML settings/page. We might as alternative use a simpler approach like it is done
in the XmlHeaderAwareReader in XStream, which is based on the JDK's PushBackInputStream and
implemented similar to a normal InputStreamReader.

> Charset detection
> -----------------
>                 Key: CONFIGURATION-164
>                 URL:
>             Project: Commons Configuration
>          Issue Type: New Feature
>    Affects Versions: Nightly Builds
>            Reporter: Emmanuel Bourg
>            Priority: Minor
>             Fix For: 2.x
> Detecting automatically the charset of the file based configurations would be a
> nice addition. When the file has no byte order mark defining the charset, we
> might apply a detection algorithm similar to the one implemented in Mozilla.
> There is at least one Java library providing this feature, jchardet :

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

View raw message