directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] [Commented] (DIRSTUDIO-963) Why UTF-8 is escaped in DN strings since 2.0.0?
Date Sat, 03 May 2014 23:52:14 GMT


Stefan Seelmann commented on DIRSTUDIO-963:

In the entry create and rename dialog we use the Rdn.escapeValue() method, which seems to
have changed, as it escapes now every unicode character, not only some special characters.
I have to dig deeper tomorrow.

> Why UTF-8 is escaped in DN strings since 2.0.0?
> -----------------------------------------------
>                 Key: DIRSTUDIO-963
>                 URL:
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 2.0.0-M8 (2.0.0.v20130628)
>            Reporter: Dmitri Chubarov
>              Labels: newbie
>         Attachments: Screenshot-Rename Entry - 1.5.3.png, Screenshot-Rename Entry - 2.0.0-M8.png
> I have a directory that includes many DNs containing UTF-8 characters. I expect the characters
to be displayed correctly in the LDAP browser tree. The server claims to support LDAP v3.
> Recently I installed Apache Directory Studio 2.0.0-M8 and realized that new entries created
with the Directory Studio have UTF-8 characters escaped when a DN is created, e.g. "TESTСкаж...,dc=ru"
is replaced with "TEST\D0\A1\D0\BA\D0\B0\D0\B6...,dc=ru".
> Since escaped secuences make the tree illegible in the LDAP Browser I had to manualy
rename new entries using ldapmodrdn utility from OpenLDAP distribution.
> I have tested few prior versions of Apache Directory Studio. Here is a summary of the
> 1.5.3 - entries created with UTF-8 characters in DN as expected.
> 2.0.0-M3 - the Directory fails to load with ArrayIndexOutOfBounds exceptions
> 2.0.0-M7, 2.0.0-M8 when DN is formed by the Directory Studio all UTF-8 characters are
> Is this an expected behaviour or is this a regression? If this behaviour is expected
is there a way to get UTF-8 characters back into the DNs?

This message was sent by Atlassian JIRA

View raw message