I emerged sun-jdk-1.4.1.01 and tried to compile this class: public class Test1 { public static void main(String argv[]) { System.out.println("
I emerged sun-jdk-1.4.1.01 and tried to compile this class: public class Test1 { public static void main(String argv[]) { System.out.println("áéíóú"); } } Compiles OK, but when i execute it i get and output of: ?????
Ive discovered that gentoo does'nt set the variable $LANG I exported LANG="en_US" and the problem solved, so you need to check somewhere because this variable is not getting set. I checked on various installations and it failed. It doesnt fail with any JDK lower than 1.4.1. I also want to point out that this is not a JAVA problem this should be a problem for other packages, i checked RedHat 8.0 and they set for every user ther Variable lang to LANG="UTF-8", so you need to check something thats set this depending on user settings or by default UTF-8.
i also checked mandrake 9.0 /etc/profile <snip> # some old programs still use it (eg: "man"), and it is also # required for level1 compliance for LI18NUX2000 NLSPATH=/usr/share/locale/%l/%N </snip> Would be good to check gentoo cause i dont see this anywhere and if this fixes things great 1.4 will be out soon.
*** Bug 9577 has been marked as a duplicate of this bug. ***
*** Bug 9988 has been marked as a duplicate of this bug. ***
What happened with this bug. ?? seemant ??
Im assigning this to bug-wranglers in a hope to see a possible fix at some point soonish.
todd -- please bring this issue up on -core be nice to have some sort of LANG resolution for 1.4
Why in the installation Ex. in /etc/rc.conf let the user set his LANG variable so this could be solved ? having a lista of posible combinations should be ideal for this or have a tool like mirrorselect to select the LANG setting. My .02 $
I have a report of someone that fixed it temporary using: export LC_ALL="en_US" Just my 2 cents.
I can confirm that adding the environment variable LC_ALL to a valid locale such as en_US or fr_CA fixes the problem. the LANG variable does not seem to have any effects. I have tested with sun-jdk-1.4.2.02 only
Having the folowing two lines in my .profile: export LC_TYPE=de_DE@euro export LC_CTYPE=$LC_TYPE resolves my problem with "
Having the folowing two lines in my .profile: export LC_TYPE=de_DE@euro export LC_CTYPE=$LC_TYPE resolves my problem with "äöüß..." - I use blackdow-jdk-1.4.1, because the jdk from Sun was to buggy for my application. If you set LANG than *all* things are effected including german manuals while executing "man ...". I think a lot of users in Germany need "äöüß..." but dislike german translations of the system manuals.
*** Bug 17051 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 57973 ***