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 2014/02/22 14:11:35 UTC

[jira] [Closed] (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 closed ONAMI-89.
---------------------------------


> 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 was sent by Atlassian JIRA
(v6.1.5#6160)