[ https://issues.apache.org/jira/browse/CONFIGURATION-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079611#comment-13079611 ]
Emmanuel Bourg commented on CONFIGURATION-457: ---------------------------------------------- This could be implemented by using the {{java.nio.charset.CharsetEncoder}} class to check if the characters can be encoded. Unsupported characters would be escaped. I'm not working on a fix now, so if someone want to pick the task, it's free. > Escape only unicode characters not supported by the file encoding > ----------------------------------------------------------------- > > Key: CONFIGURATION-457 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-457 > Project: Commons Configuration > Issue Type: Improvement > Components: Format > Affects Versions: 1.6 > Reporter: Emmanuel Bourg > Priority: Minor > Fix For: 1.7 > > > A non ASCII character is always escaped in a PropertiesConfiguration, even if > the encoding selected supports it. It can make the properties file difficult > to read and edit manually, especially for non latin languages. > This issue was found on Stack Overflow: > http://stackoverflow.com/questions/5661315 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira