Tag Archive for 'apacheCommons'

Java : PropertiesConfiguration Escapes Characters on Save :(

Damn! I am using the commons-configuration from apache commons library. I have a properties file which has properties like:

widgetcentral_us=http://widgets.amazon.com

widget_source_widgets_available=”carousel”

When I open this file, change a property and save the file, unfortunately, the characters get escaped and the file ends up like:

widgetcentral_us = http:\/\/widgets.amazon.com

widget_source_widgets_available = \”carousel\”:\”mp3\”

I am trying to figure if I can prevent this behavior.

Popularity: 4% [?]