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


On Sun, 20 Dec 1998 21:29:41 -0700 (MST), Richard Stallman wrote:
>
>    * Locale names aren't very portable.  E.g. Solaris uses "ja" for
>      EUC-JIS whereas Unixware uses "ja_JP.EUC".
>
>This is a real issue.  I see three possible solutions.
>
>1. Define our own system-independent names for (some) locales.
>2. Allow specification of several locale names, and GCC will use
>the first one that is meaningful on the system in use.
>3. Allow specification of several locale names, each associated
>with a host system type.

GCC should only care about the character set, not the rest of the
locale.  Therefore, it makes sense to use the charset names from the
iconv library (part of glibc 2.1, also in Solaris and probably
elsewhere) which are the names standardized by the MIME RFCs.

zw


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