on 02-18-2009 11:42 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefano,
Did you specify this letters in text with it unicode representation \uXXXX?
Regards
Pavel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.