Closed
Bug 38528
Opened 24 years ago
Closed 24 years ago
cannot write an entry which contains a three byte utf8 char for example chinese whereas a two byte char for example greek works
Categories
(Directory :: LDAP Java SDK, defect, P3)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: Gudrun.Brunsch, Assigned: miodrag)
Details
No description provided.
Comment 1•24 years ago
|
||
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
Reporter | ||
Comment 2•24 years ago
|
||
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.
Reporter | ||
Comment 4•24 years ago
|
||
Hi, I solved the problem; it wasn't the ldap library, but my own fault. Sorry about the confusion.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Comment 5•24 years ago
|
||
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.
Description
•