This is the mail archive of the
mailing list for the GCC project.
Re: gcc compile-time (multibyte issue)
- From: starner at okstate dot edu
- To: gcc at gcc dot gnu dot org
- Date: Sun, 19 May 2002 17:29:08 -0500 (CDT)
- Subject: Re: gcc compile-time (multibyte issue)
>I woulod say that using the locale unconditionally if the option is
>not given, this may be a pain, because the normal situation is that
>e.g. in Japan, most files are not encoded, only a very few are.
All text files are encoded in some character set. All code that GCC
would be expected to compile is in an ASCII superset, where any ASCII
file is a valid file with the same meaning in that character set. Given
that GCC should be able to use the locale character set without problem,
assuming that multibyte character set reading is fast enough.
It would be nice to be error tolerant in comments, though. I think most
use of non-ASCII text in source code is in comments, and the compiler
doesn't care either way.