You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2013/03/29 18:31:15 UTC

[jira] [Resolved] (ONAMI-89) Avoid re-encoding chars in PropertiesConverter

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

Mikhail Mazursky resolved ONAMI-89.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: converters-1.0.0
         Assignee: Mikhail Mazursky

Fixed in r1462548.
                
> Avoid re-encoding chars in PropertiesConverter
> ----------------------------------------------
>
>                 Key: ONAMI-89
>                 URL: https://issues.apache.org/jira/browse/ONAMI-89
>             Project: Apache Onami
>          Issue Type: Improvement
>          Components: configuration
>    Affects Versions: configuration-6.3.0
>            Reporter: Mikhail Mazursky
>            Assignee: Mikhail Mazursky
>            Priority: Minor
>             Fix For: converters-1.0.0
>
>
> PropertiesConverter converts String to bytes using ISO-8859-1 and then uses Properties.load() which converts that back to chars. Maybe just use Properties.load(new StringReader(value))?
> Someone already handled encoding problems and passed String to Guice so why mess with it one more time?

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