This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ and Sun going GPL (again)
- From: Chris Burdess <dog at bluezoo dot org>
- To: fernando at lozano dot eti dot br
- Cc: Marco Trudel <mtrudel at gmx dot ch>, GCJ <java at gcc dot gnu dot org>
- Date: Tue, 5 Dec 2006 18:33:05 +0000
- Subject: Re: GCJ and Sun going GPL (again)
- References: <4575b209.d7.4aa3.1334162378@lozano.eti.br>
fernando@lozano.eti.br wrote:
> 1. International keyboard layouts won't work with Linux. I have to choose between typing {. <. \ and
> other symbols required for Java programas or accented characters like ï. ï. ï that I need in
> comments and strings.
Do you mean in source code? If so, it's not safe to use non-ASCII
characters in Java source files, they should always be unicode-escaped,
e.g. "\u00e0". This has always been the case. I agree that it's stupid,
and that there should be some kind of encoding declaration for source
files (or perhaps just say that they must all be UTF-8), but you can't
really fault the Java compiler for this since as soon as you tried to
compile on a system with a different locale set your strings would
break.
--
Chris Burdess