[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-devel
Subject:    Re: Assumption in utf-8-conv.c that sizeof(wchar_t) >= 4
From:       "Kurt D. Zeilenga" <Kurt () OpenLDAP ! org>
Date:       2005-10-30 17:39:09
Message-ID: 6.2.1.2.0.20051030093322.09592bb0 () mail ! openldap ! org
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic