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

Confusion between ISO-8859-1 and UTF-8 in the Encode/Decode dialog

    XMLWordPrintableJSON

Details

    Description

      The encode/decode tool (from the LDAP menu) gives "aGVydsOp" for BASE-64 encoding from the ISO-8859-1 string "hervé".
      while the website http://www.base64decode.org/ gives the same results from the same string but in UTF-8.
      Also UTF-8 BASE 64 encoding of Apache Directory Studio match with ISO-8859-1 BASE64 encoding of the previous website.
      The result from my own java code match with that website.

      I think there is a confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool of Apache Directory Studio.
      It will be easy to fix.

      Attachments

        1. encode-decode LDAP demo 1.PNG
          10 kB
          julien2512
        2. encode-decode LDAP demo 2.PNG
          10 kB
          julien2512

        Issue Links

          Activity

            People

              pamarcelot Pierre-Arnaud Marcelot
              julien2512 julien2512
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified