[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Assumption in utf-8-conv.c that sizeof(wchar_t) >= 4



At 08:46 AM 10/30/2005, Albert Chin wrote:
>Any reason for the assumption in utf-8-conv.c that sizeof(wchar_t) >=
>4?

If sizeof(wchar_t) is < 4, wchar_t is unable to hold arbitrary
ISO 10646 characters.

>On AIX 4.3.3+, sizeof(wchar_t) == 2.

In such cases, wchar_t should not be used.

Kurt