This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj has problems with German umlauts in source files
>>>>> "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