[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Will Lua kernel use Unicode in the future?
- From: Dave Dodge <dododge@...>
- Date: Thu, 29 Dec 2005 18:55:43 -0500
On Thu, Dec 29, 2005 at 11:38:57AM +0000, Lisa Parratt wrote:
> but I was under the impression C99 added Unicode compliant
> wide character comparison functions
The Unicode compliance is optional.
If __STDC_ISO_10646__ is defined, it indicates that the wchar_t type
contains character values that match up with ISO/IEC 10646. The value
of __STDC_ISO_10646__ tells you the year and month of compliance (any
newer amendments to ISO/IEC 10646 might not be handled). For example
my Linux system with glibc/gcc defines this as 200009 (September
C99 adds the \unnnn and \Unnnnnnnn escapes as well, though not all
compilers have completely implemented this. For example gcc can
handle them in wide character constants, but not in identifiers.