commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CONFIGURATION-175) Support Byte Order Marks
Date Sun, 17 Feb 2008 18:36:34 GMT

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

Emmanuel Bourg updated CONFIGURATION-175:
-----------------------------------------

    Fix Version/s:     (was: 1.6)
                   2.x

> Support Byte Order Marks
> ------------------------
>
>                 Key: CONFIGURATION-175
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-175
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>            Reporter: Emmanuel Bourg
>            Priority: Minor
>             Fix For: 2.x
>
>
> We should support byte order marks to detect automatically unicode files and
> parse them with the appropriate encoding. Here is a description of BOMs:
> http://en.wikipedia.org/wiki/Byte_Order_Mark
> I suggest the following changes:
> - add a setUseByteOrderMark() method in FileConfiguration to specify if the BOM
> should be added when the file is saved
> - the useByteOrderMark flag is ignored if the encoding has no corresponding BOM
> - on loading the file, look for a BOM at the beginning of the file and set the
> useByteOrderMark flag to true and switch to the corresponding encoding. The flag
> is set to false by default

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


Mime
View raw message