international characters in unix
Anyone have any idea how to get international characters to work in a unix with java 1.3.1? All I get when i try to print one of the scandinavian letters (dunno if they show right here) is a ? character. What is it that i need to change to get them to work? Some setting in the unix or java perhaps?
-teka
[332 byte] By [
teka] at [2007-9-26 2:52:42]

Well the chars came out wrong as i expected. Anyways I managed to solve this on my own so I'll just post the solution here in case someone comes this way looking with a similar problem..
The problem was that the environment variable LANG needed to be set for the shell. You can get the available locales you can set it to with "locale -a" command in your unix shell. in my case it was LANG=fi.ISO8859-15
This was with JRE 1.3.1, with JRE 1.2.2 in the same shell it worked fine without the variable.. I think with 1.3.0 too.
-teka
teka at 2007-6-29 10:40:56 >
![top of Java-index,Archived Forums,Portability & Platform Independence [Archive]...](/library/images/10/top.gif)