gcj has problems with German umlauts in source files
Adrian Bunk
bunk@fs.tum.de
Mon Jun 17 01:56:00 GMT 2002
On 16 Jun 2002, Tom Tromey wrote:
> 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.
Ah, thanks for the explanation and sorry for bothering you with this
question.
> Tom
cu
Adrian
--
You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox
More information about the Java
mailing list