You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Dmitri Chubarov (JIRA)" <ji...@apache.org> on 2013/11/25 05:51:35 UTC

[jira] [Created] (DIRSTUDIO-963) Why UTF-8 is escaped in DN strings since 2.0.0?

Dmitri Chubarov created DIRSTUDIO-963:
-----------------------------------------

             Summary: Why UTF-8 is escaped in DN strings since 2.0.0?
                 Key: DIRSTUDIO-963
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-963
             Project: Directory Studio
          Issue Type: Question
          Components: studio-ldifeditor
    Affects Versions: 2.0.0-M8 (2.0.0.v20130628)
            Reporter: Dmitri Chubarov


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 results:

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 escaped.

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
(v6.1#6144)