This is the mail archive of the gcc-patches@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: [Fwd: Patch for Recovery from Bad Multibyte Characters]




Jason Merrill wrote:

> Contrary to what Dave says, this problem occurs with any code that uses
> high-ASCII values if gcc is configured with --enable-c-mbchar.  It doesn't
> depend on the value of LANG at all.

In the absence of one of the magic LANG settings, the implementation uses
mblen and mbtowc as defined by the host locale (when configured with
--enable-c-mbchar). It is possible that some locales support other multibyte
character sets than JIS, SJIS and EUCJP.

Dave


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