zmwillow wrote:
yes, i can use iconv lib to encode Chinese to utf8 string,
but my question is:
Could LDAP c sdk handle the utf8 string using char* parameter?
Yes. The nice thing about utf8 is that you can use char* (and many standard c
library functions) to handle them.
Thank you :)
Rich Me
yes, i can use iconv lib to encode Chinese to utf8 string,
but my question is:
Could LDAP c sdk handle the utf8 string using char* parameter?
Thank you :)
Rich Megginson <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> You must convert the Chinese string from the native char
You must convert the Chinese string from the native character set encoding to
the UTF8 encoding. The iPlanet Directory Server used to ship with a command
line utility called Native2Ascii or something like that. Assuming you have your
command line environment locale and lang set up correctly, y
hello,
I just want to know, how to add Chinese string to Openldap using LDAP C
SDK for windows.
the parameters in the SDK is char *, for example:
LDAP_API(int) LDAP_CALL ldap_add( LDAP *ld, const char *dn, LDAPMod
**attrs );
the problem is:
(1) if i use Chinese in const cha