[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
C-API UTF8
Hi list,
based on this code - snippet from the rfc 1823 (The LDAP Application
Program Interface). How can i convert the values to a printf-able format
like ISO8859-1?
Is this possible with actual openldap-c-libs?
thanks for every answer
/* print each value */
vals = ldap_get_values( ld, e, a );
for ( i = 0; vals[i] != NULL; i++ ) {
printf("-> %s\n", vals[i]);
}
Sebastian Dietzold
--
Sebastian Dietzold - phone: +49-341-97-16114 - fax: +49-341-97-16130
Institute for Medical Informatics, Statistics and Epidemiology
University of Leipzig - Liebigstr. 27 - 04103 Leipzig, Germany