Subject: Re: Type for wide characters
To: None <,>
From: Noriyuki Soda <>
List: tech-userlevel
Date: 10/01/1999 20:27:35
> I'm thinking of using int for both chtype and attr_t.  Is there any reason
> why wchar_t shouldn't be an int?  I don't have any strong feelings (long or
> u_int32_t would be fine too).  Thoughts?

wchar_t should be 32bit at least, for example, Unicode (UCS-4, UTF-16
and UTF-8) is 32bit charset now. And also, it is known that there are
more than 65536 characters in CJK ideogram.
Also, all commercial Unices (except AIX, which use 16bit character)
and glibc use 32bit per character,