You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Andrei (Jira)" <ji...@apache.org> on 2020/04/20 16:15:00 UTC

[jira] [Commented] (DIRSTUDIO-1249) UTF-8 encoding problem

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087898#comment-17087898 ] 

Andrei commented on DIRSTUDIO-1249:
-----------------------------------

Feel free to rename the title of the issue as it is somewhat generic.

> UTF-8 encoding problem
> ----------------------
>
>                 Key: DIRSTUDIO-1249
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1249
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M15
>         Environment: Windows 10
> PingDirectory ( https://www.pingidentity.com/en/software/pingdirectory.html )
>            Reporter: Andrei
>            Priority: Minor
>         Attachments: image-2020-04-20-18-06-52-949.png, image-2020-04-20-18-07-26-199.png
>
>
> A binary value from the LDAP Server is parsed or encoded incorrectly in Apache Directory Studio.
> The value contains a SMIME Certificate and has the following properties:
>  * m-syntax: 1.3.6.1.4.1.1466.115.121.1.5 (binary, [https://ldapwiki.com/wiki/1.3.6.1.4.1.1466.115.121.1.5] )
>  * m-singleValue: TRUE
> The value has in reality 1667 bytes but is reported as binary data with a size of 2422 bytes.
> I can read the value correctly with a console program (ldapmodify) but I can't get the correct value in Apache Directory Studio. I've tried to copy the value as base64, export the user as LDIF, and to open with the hex editor and trying to save the data).
> In the output there are a lot of "EF BF BD" sequences (the UTF-8 encoded 'Replacement Character') [https://www.fileformat.info/info/unicode/char/fffd/index.htm]
> !image-2020-04-20-18-06-52-949.png!
> The correct file should look like this:
> !image-2020-04-20-18-07-26-199.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org