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
- From: Adrian Bunk <bunk at fs dot tum dot de>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 17 Jun 2002 10:56:11 +0200 (CEST)
- Subject: Re: gcj has problems with German umlauts in source files
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