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

Re: Unicode/UTF-8 support



At 03:30 PM 3/9/01 -0500, Jim Malcolm wrote:
>I'm trying to store a UTF-8 value in a 2.0.7 directory using gdbm as the
>back end.  I gave configure --enable-unicode (I didn't see it defined
>anywhere but configure didn't complain either).  When I try to do an
>ldap_add of an object with the UTF-8 string as one of the attribute
>values, I get

Are you sure you provided a valid UTF-8 string?  A common
mistake is to provide UCS-2 or UCS-4 instead of UTF-8.


>initial ldap_add_s: Invalid syntax
>initial ldap_add_s: additional info: value contains invalid data
>
>(The initial ldap_add_s: is a string I supplied to ldap_perror().)
>
>The same program works when I aim it at a Netscape LDAP server.  Any
>suggestions?

Check your input (by hand).