[Fwd: Patch for Recovery from Bad Multibyte Characters]

Jason Merrill jason@cygnus.com
Wed Jun 30 23:15:00 GMT 1999

>>>>> Dave Brolley <brolley@cygnus.com> writes:

 > What the standard requires is that the compiler detect multibyte
 > character in string literals, char literals and comments "as if" mblen
 > were called as defined by the host locale. The use of LANG is one way in
 > which the host locale is commonly defined, but it is not the exclusive
 > method. Other variables are also used and some locales may support
 > multibyte characters by default. This would appear to be the case on the
 > platform on which you are testing. Perhaps I should debug the testcase
 > on that platform to make sure all is behaving as expected?

This is the case on Linux, with the default setup.  I have no idea how to
tell what locale I am in; I would guess C.


More information about the Gcc-patches mailing list