Problems while reading locale specific characters in Java
Joined: Jun 09, 2008
We are facing problems in reading locale specific characters from a file.
We are using the Buffered Reader to read the file, but the locale specific chars in the file are read as some wrong characters.
for Example the char: é is read as ý by the Buffered Reader. We are using the Jdk1.3.
Could you please help me in resolving this problem.
Yes.. we are writing to the file using a buffered Writer and reading using a bufered reader.
and to my surprise i found a strange thing here...
When i run my program in Windows OS it's reading the characters correctly.
But when i run my program in UNIX OS the locale specific characters are read differently.