gcj has problems with German umlauts in source files

Tom Tromey tromey@redhat.com
Sun Jun 16 13:26:00 GMT 2002


>>>>> "Adrian" == Adrian Bunk <bunk@fs.tum.de> writes:

Adrian> attached is a source file that compiles and runs fine with SUN
Adrian> JDK 1.3.1 but fails to compile with gcj (the Debian package
Adrian> that ships a 2002年06月06日 CVS snapshot of the
Adrian> gcc-3_1-branch). It seems gcj has some problems with German
Adrian> umlauts.
You need to compile with `--encoding=ISO-8859-1'.
You are probably using the C locale. This example works with javac
because it uses ISO-8859-1 with the C locale, while glibc uses ASCII
and rejects characters >0x7f.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /