#include <ldap.h> int ldap_set_iconv_local_codepage ( char *codepage )
The ldap_set_iconv_local_codepage() API is used to set a global variable, ldap_global_codepage, to a value passed by codepage or to a value associated with a locale if codepage is NULL.
NOTE that the word local in the API refers to the value of the global variable ldap_global_codepage if it is set or a codepage value associated with the current locale.
No IBM® i authority is required.
The ldap_set_iconv_local_codepage() API will return an LDAP error code if not successful. See LDAP Client API Error Conditions for possible values for LDAP error codes.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_set_iconv_local_codepage API. |
[ Back to top | LDAP APIs | APIs by category ]