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: eggert at twinsun dot com
- Subject: Re: thoughts on martin's proposed patch for GCC and UTF-8
- From: Richard Stallman <rms at gnu dot org>
- Date: Wed, 23 Dec 1998 18:16:42 -0700 (MST)
- CC: zack at rabi dot columbia dot edu, amylaar at cygnus dot co dot uk, martin at mira dot isdn dot cs dot tu-berlin dot de, gcc2 at gnu dot org, egcs at cygnus dot com
- References: <199812220428.XAA13457@blastula.phys.columbia.edu> <199812221058.CAA08826@shade.twinsun.com>
- Reply-to: rms at gnu dot org
The idea of translating everything into UTF-8 is not useful for C.
It is pointless and mistaken to translate symbols to UTF-8. The
assembler won't accept them in UTF-8, and users who use other
encodings wouldn't want them in UTF-8 anyway.
It is pointless and buggy to translate strings to UTF-8 and then
translate them back. As Handa pointed out, it's impossible to
translate them back.
If that translation is required for correct handling of Java, then
let's do it for Java. But not for C.