Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-963

Why UTF-8 is escaped in DN strings since 2.0.0?

    XMLWordPrintableJSON

Details

    Description

      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?

      Attachments

        1. Screenshot-Rename Entry - 1.5.3.png
          20 kB
          Dmitri Chubarov
        2. Screenshot-Rename Entry - 2.0.0-M8.png
          20 kB
          Dmitri Chubarov

        Issue Links

          Activity

            People

              seelmann Stefan Seelmann
              dimch Dmitri Chubarov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: