Reassigning to Miodrag. Gudrun, can you please provide a more detailed description of the problem? What error is thrown? What classes and methods are you using? Sample code and a sample entry would help.
Assignee: mcs → miodrag
I would like to write chinese characters to the directory using the Java Ldap 4.0 classes; it does not work with Java LDAP 3.0 either. I try to modify an existing entry by using LDAPConnection.modify(). In the LDAP ModificationSet I can see the three bytes in utf-8 which represent the one chinese unicode character in the LDAPAttribute. Trying to do the modify() I run into netscape.ldap.LDAPException with detailedMessage is "Server down", backtrace is 0x18a:class( netscape.ldap.LDAPConThread), resultCode is 80, errorMessage and matchesDN are null. When I try to write the same entry directly after the first attempt but without the chinese character it works fine. This only happens with a chinese character which is represented by three bytes in utf-8; with a greek character which only has two byte in utf-8 character it works fine.
Changed status to assigned.
Status: NEW → ASSIGNED
Hi, I solved the problem; it wasn't the ldap library, but my own fault. Sorry about the confusion.
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → INVALID
Reporter problem not ours. Marking as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.