[jira] [Resolved] (IO-315) Replace all "String encoding" parameters with a value type

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (IO-315) Replace all "String encoding" parameters with a value type

AD_LB (Jira)

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

Sebb resolved IO-315.
---------------------

       Resolution: Fixed
    Fix Version/s: 2.3

I think this was fixed by the addition of the Charsets class.
If not, please re-open with details
               

> Replace all "String encoding" parameters with a value type
> ----------------------------------------------------------
>
>                 Key: IO-315
>                 URL: https://issues.apache.org/jira/browse/IO-315
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>    Affects Versions: 2.1
>            Reporter: Aaron Digulla
>             Fix For: 2.3
>
>
> Please create an interface "Encoding" plus a set of useful defaults (UTF_8, ISO_LATIN_1, CP_1250 and CP_1252).
> Use this interface in all places where "String encoding" is used now. This would make the API more reliable, improve code reuse and reduce futile catch blocks for {{UnsupportedEncodingException}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira