Re: wchar.h, wctype.h question

From: G. Adam Stanislav (
Date: Wed May 05 1999 - 16:32:16 EDT

On Wed, May 05, 1999 at 07:56:22PM +0200, Christophe PIERRET wrote:
> There exists at least two package that can show you how to do...
> Following is an old message on this list with URLs for these two packages.
> Perhaps, John Cowan and Mark Leisher could provide you with a more detailed
> answer.

Thank you very much. Yes, they both contacted me, and offered me much more than
I was asking. :-) They both also answered all my questions.

The thing that they offered was to include one or the other of their
libraries with FreeBSD, and have my C library code simply function as a front

I like the idea and will discuss it with our developers to see if they like
it as well.
> Just a simple question, do you plan to implement "wchar_t is UCS-4" ?

Yes. It is typedefed as a signed integer, which is 32 bits wide. That leaves
room for the 31 bits of ISO 10646, plus an extra bit so the WEOF macro
required by standard C can be out of the range of any valid code.


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