RE: wchar.h, wctype.h question

From: Mark Leisher (mleisher@crl.nmsu.edu)
Date: Wed May 05 1999 - 14:50:12 EDT


    Christophe> There exists at least two package that can show you how to
    Christophe> do... Following is an old message on this list with URLs for
    Christophe> these two packages. Perhaps, John Cowan and Mark Leisher
    Christophe> could provide you with a more detailed answer.

In fact, the two packages are now very similar with one really fundamental
distinction: UCData supports 32-bit character codes everywhere.

UCData will need a bit of work to deal with platforms that have shorts and
longs larger than 16 and 32 bits respectively if they are loading data files
created on a platform with smaller sizes. Endianess is currently handled
automatically.

    Christophe> Just a simple question, do you plan to implement "wchar_t is
    Christophe> UCS-4" ?

As an aside, I also have a package that tests some aspects of wchar_t support
in the C/C++ compiler (mostly size, character, and string constant tests).

  http://crl.nmsu.edu/~mleisher/testwchar.html
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab Life is like Sanskrit read to a pony.
New Mexico State University -- Lou Reed
Box 30001, Dept. 3CRL
Las Cruces, NM 88003



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:45 EDT