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

Re: LDAP api and utf-8



The Netscape Directory SDK for C handles attribute values in the same
representation as the LDAP protocol.  It does not convert characters
between UTF-8 and the local charset.  You (the caller) must do so,
if that's what you want.

Steve Hubert wrote:
> 
> I'm writing a simple client which uses ... the Netscape Directory SDK
> 3.0 for C... I'm having a hard time understanding how non-ASCII
> characters are supposed to be handled.
> 
> Is it the case that the API already handles the UTF-8 to local character
> set conversion, or does the API user have to explicitly decode the UTF-8?