lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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
2000).

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.

                                                  -Dave Dodge