This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: more build problems, sun sparc solaris 2.7
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: more build problems, sun sparc solaris 2.7
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Tue, 12 Dec 2000 22:38:53 -0800
- Cc: Alexandre Petit-Bianco <apbianco at cygnus dot com>, gcc at gcc dot gnu dot org, java-discuss at sources dot redhat dot com
- References: <200012130254.SAA29804@kankakee.wrs.com> <opitoouc34.fsf@deliverance.cygnus.com> <87puiwam8r.fsf@creche.redhat.com>
On Tue, Dec 12, 2000 at 11:06:28PM -0700, Tom Tromey wrote:
>
> I believe the fix would be to pass an explicit `--encoding=UTF-8' to
> gcj in the libgcj Makefile. We should probably do this regardless of
> what is going on with Mike, since that is the only way to ensure that
> the user's locale doesn't mess with the libgcj build.
Shouldn't there be a way to override the file encoding from inside the
file? Over in C-land we've been kicking around the idea of
#pragma GCC charset "UTF-8"
as the first line of the file, and/or recognizing Mule magic comments.
[Naturally these have to be expressed in 7-bit ASCII.] I don't know
what Java's equivalent of #pragma is, but there must be something...
zw