cancel
Showing results for 
Search instead for 
Did you mean: 

special char in .properties file

Former Member
0 Kudos

Hi all,

in my java application I have defined a .properties file which contain a property "myProp".

This property is a message string so it can contain special characters such as è, ù, à etc.

When I read the property using IWDConfiguration.getStringEntry() method I found these character replaced.

For example the character è (unicode 00E9) is being replaced with unicode character 00C3.

any suggestion?

thanks in advance,

Stefano

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hava a look at the apidoc,

especially [this|http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#load(java.io.InputStream)] part, and the general info on for the Properties class.

.properties files are written/read in ISO 8859-1 encoding, i think this is causing your problems

regards franz

Former Member
0 Kudos

Hi,

Thanks for the hint, i am also facing same issue.

Request you to kindly, let me know how to proceed further resolving this issue.

regards,

SJ

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Stefano,

Did you specify this letters in text with it unicode representation \uXXXX?

Regards

Pavel