This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: thoughts on martin's proposed patch for GCC and UTF-8
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: thoughts on martin's proposed patch for GCC and UTF-8
- From: Per Bothner <bothner at cygnus dot com>
- Date: Wed, 09 Dec 1998 14:56:04 -0800
- cc: gcc2 at gnu dot org, egcs at cygnus dot com
> Please note that jc1 already defines object files to use UTF-8.
I wouldn't put it that strongly. The Java language allows
non-Ascii Unicode characters in identifiers. These have to be
mangled in some standard way. Using UTF-8 seems like the cleanest
way, but that may require use of gas and also requires an 8-bit
clean ld.
I would prefer to mangle Unicode characters using UTF-8, as that
is the cleanest solution, but there are alternative mangling schemes
which have the advantage of working with older assemblers. I don't
have a good handle on how important that is.
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner