This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]