Character '\' is lost when reading a String from a property file.
807606Jan 25 2007 — edited May 7 2007Hi all,
I have encrypted information inside a property file, but when loading properties in my program, the String object used to store the value is changed by the lost of all �\� characters
# EIS password saved in the property file
password=WPLqQE0DlVF8Sg\=\=
#Value loaded in my String object
WPLqQE0DlVF8Sg==
Why is this happening? I use java.util.Properties java class to store and load my properties, and it is supposed to do it with the same encoding (ISO 8859-1).
Please, can someone explain me why this happened and how to solve it?
Best regards.