You have to convert to UTF8. UTF8 is the LDAP standard server side character encoding.

Björn Gerth wrote:
Hello,

I'm using the LDAP Java SDK to access a local LDAP directory in Germany.
A lot of the entries contain special characters, the German umlauts.

The umlauts get correctly retrieved. But when I start a search with
umlauts through LDAPConnection.search(...), e.g. the search string is
"Bjö", it does not find anything, in this example my own name, which IS
stored on the server.
I think the same problem appears when I'm trying to delete entries which
DN contain umlauts.

I suppose I have to convert any string first to a different format. What
is the format used by the LDAP Java SDK? Or does it depend on the server?

Best regards,
Björn


_______________________________________________ mozilla-directory mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-directory

Reply via email to