K
kiran
Hi,
I am trying to read some russian characters from my .properties file
(encoded in ISO-8859-1) using a PropertyResourceBundle. The russian
characters are entered in the .properties file in unicode. My problem
is that the method call PropertyResourceBundle.getString(key) returns
valid russian charcters for some unicode charactes and square boxes for
some.
For example:
if key=\u0410\u0424\u0426, valid russian characters are returned
but if key=\u0460\u04C1\u0482, it returns square boxes.
All the above unicode characters are derived from
http://www.unicode.org/charts/PDF/U0400.pdf.
I am not sure what is special about the second string. Is it that java
has limitations on a set of characters or do I need to do anything
special to my JDK or WinXP.
Thanks in advance for the help.
-Kiran
I am trying to read some russian characters from my .properties file
(encoded in ISO-8859-1) using a PropertyResourceBundle. The russian
characters are entered in the .properties file in unicode. My problem
is that the method call PropertyResourceBundle.getString(key) returns
valid russian charcters for some unicode charactes and square boxes for
some.
For example:
if key=\u0410\u0424\u0426, valid russian characters are returned
but if key=\u0460\u04C1\u0482, it returns square boxes.
All the above unicode characters are derived from
http://www.unicode.org/charts/PDF/U0400.pdf.
I am not sure what is special about the second string. Is it that java
has limitations on a set of characters or do I need to do anything
special to my JDK or WinXP.
Thanks in advance for the help.
-Kiran