Uploaded image for project: 'Apache Onami'
  1. Apache Onami
  2. ONAMI-89

Avoid re-encoding chars in PropertiesConverter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • configuration-6.3.0
    • converters-1.0.0
    • configuration
    • None

    Description

      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?

      Attachments

        Activity

          People

            ash2k Mikhail Mazursky
            ash2k Mikhail Mazursky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: