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/02/25 15:32:13 UTC

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

Mikhail Mazursky created ONAMI-89:
-------------------------------------

             Summary: 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
            Priority: Minor


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