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


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

Re: thoughts on martin's proposed patch for GCC and UTF-8


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.


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