Hello.

I have trouble inserting data in openldap when it contains utf8 characters.
My code works as long as only ascii characters are present, but when a name
has an accent or umlaut in it, the modify operation fails with an
operations error.

Even reading a string with such a character from an existing entry and
pushing the same string back to ldap with ldap_modify_ext_s gives me this
error. And while debugging I can see that the string in question really
contains the correct uft8 values.

Are there perhaps any options that have to be enabled? The only one I am
using now is:

int version = LDAP_VERSION3;
ldap_set_option(_server, LDAP_OPT_PROTOCOL_VERSION, &version);

Regards,

yvan vander sanden

-- 
==- yvan vander sanden -==
*  composer, programmer  *

>>> http://mutecode.com -* MUTE software development*
>>> http://attr-x.net - *online interactive soundscape*
>>> http://code.google.com/p/yse-soundengine/ - *advanced 3D sound engine*
>>> http://youngmusic.org - *personal website*
>>> http://www.matrix-new-music.be/componist/vander-sanden-yvan-1972 - *bio
@ matrix* <http://youngmusic.org>

Reply via email to