You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "julien2512 (Created) (JIRA)" <ji...@apache.org> on 2012/04/05 19:16:26 UTC
[jira] [Created] (DIRSTUDIO-802) confusion between ISO-8859-1 and
UTF-8 in the encode/decode LDAP gui tool
confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
-------------------------------------------------------------------------
Key: DIRSTUDIO-802
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
Project: Directory Studio
Issue Type: Bug
Affects Versions: 1.5.3
Environment: Windows XP pro
Reporter: julien2512
Priority: Minor
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-802) confusion between ISO-8859-1 and
UTF-8 in the encode/decode LDAP gui tool
Posted by "julien2512 (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248250#comment-13248250 ]
julien2512 commented on DIRSTUDIO-802:
--------------------------------------
That's definitely not the point !
Your java code is correct, as the mine is (with almost the same code).
I've attached two files : "encode-decode LDAP demo 1.PNG" and "encode-decode LDAP demo 2.PNG".
These pictures were taken from Apache Directory Studio. It does not match your java code results (and nor mine).
> confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
> -------------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows XP pro
> Reporter: julien2512
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-802) confusion between ISO-8859-1 and
UTF-8 in the encode/decode LDAP gui tool
Posted by "Emmanuel Lecharny (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247706#comment-13247706 ]
Emmanuel Lecharny commented on DIRSTUDIO-802:
---------------------------------------------
> The encode/decode tool (from the LDAP menu) gives "aGVydsOp" for BASE-64 encoding from the ISO-8859-1 string "hervé".
Which is expected. "hervé" when encoded using UTF-8 should be converted to aGVydsOp when base 64 encoded.
Every String in LDAP is supposed to be UTF-8.
The base 64 encoding for "hervé" encoded in ISO-8859-1 would be aGVyduk=
> while the website http://www.base64decode.org/
Can't access it.
Give www.motobit.com/util/base64-decoder-encoder.asp a try.
> 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.
No, not if the web site I provided, AFAICT
> The result from my own java code match with that website.
Can you provide your code ?
> confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
> -------------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows XP pro
> Reporter: julien2512
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DIRSTUDIO-802) Confusion between ISO-8859-1 and
UTF-8 in the Encode/Decode dialog
Posted by "Pierre-Arnaud Marcelot (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre-Arnaud Marcelot updated DIRSTUDIO-802:
---------------------------------------------
Affects Version/s: 2.0.0-M1
2.0.0-M2
2.0.0-M3
Fix Version/s: 2.0.0
2.0.0-M4
Assignee: Pierre-Arnaud Marcelot
Summary: Confusion between ISO-8859-1 and UTF-8 in the Encode/Decode dialog (was: confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool)
> Confusion between ISO-8859-1 and UTF-8 in the Encode/Decode dialog
> ------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3, 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
> Environment: Windows XP pro
> Reporter: julien2512
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Fix For: 2.0.0-M4, 2.0.0
>
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DIRSTUDIO-802) confusion between ISO-8859-1 and
UTF-8 in the encode/decode LDAP gui tool
Posted by "julien2512 (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
julien2512 updated DIRSTUDIO-802:
---------------------------------
Attachment: encode-decode LDAP demo 1.PNG
encode-decode LDAP demo 2.PNG
Two files showing the conversion result in my Apache Directory Studio 1.5.3.v20100330 version.
> confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
> -------------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows XP pro
> Reporter: julien2512
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-802) confusion between ISO-8859-1 and
UTF-8 in the encode/decode LDAP gui tool
Posted by "julien2512 (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248253#comment-13248253 ]
julien2512 commented on DIRSTUDIO-802:
--------------------------------------
Pour faire clair, et ne pas perdre de temps, parlons français :
Dans Apache Directory Studio (pour windows), menu LDAP, item "Ouvrir l'encodeur / décodeur".
Le résultat affiché (voir les pièces jointes) ne correspond pas au résultat attendu.
To be clear, just have a tiny translation in french.
Go in LDAP menu of Apache Directory Studio (for windows), menu LDAP, item "Open encoder / decoder".
The result (see the attachements) does not match the result expected.
> confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
> -------------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows XP pro
> Reporter: julien2512
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-802) confusion between ISO-8859-1 and
UTF-8 in the encode/decode LDAP gui tool
Posted by "Emmanuel Lecharny (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248912#comment-13248912 ]
Emmanuel Lecharny commented on DIRSTUDIO-802:
---------------------------------------------
Damn! I know see what you mean (thanks for the attachments).
Ok, we will have a look at this tool. Not sure that it's a good one though : we should let the user select his charset instead of forcing ISO8859-1 (except if it uses the platform locale).
> confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
> -------------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows XP pro
> Reporter: julien2512
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-802) Confusion between ISO-8859-1 and
UTF-8 in the Encode/Decode dialog
Posted by "julien2512 (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250638#comment-13250638 ]
julien2512 commented on DIRSTUDIO-802:
--------------------------------------
Thank you !
> Confusion between ISO-8859-1 and UTF-8 in the Encode/Decode dialog
> ------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldapbrowser
> Affects Versions: 1.5.3, 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
> Environment: Windows XP pro
> Reporter: julien2512
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Fix For: 2.0.0-M4, 2.0.0
>
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-802) Confusion between ISO-8859-1 and
UTF-8 in the Encode/Decode dialog
Posted by "Pierre-Arnaud Marcelot (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250643#comment-13250643 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-802:
--------------------------------------------------
Many thanks to you for filing the issue.
> Confusion between ISO-8859-1 and UTF-8 in the Encode/Decode dialog
> ------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldapbrowser
> Affects Versions: 1.5.3, 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
> Environment: Windows XP pro
> Reporter: julien2512
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Fix For: 2.0.0-M4, 2.0.0
>
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-802) confusion between ISO-8859-1 and
UTF-8 in the encode/decode LDAP gui tool
Posted by "Emmanuel Lecharny (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248162#comment-13248162 ]
Emmanuel Lecharny commented on DIRSTUDIO-802:
---------------------------------------------
Here is what I get when I use this snippet of code :
@Test
public void testUtf8Base64() throws UnsupportedEncodingException
{
String name = new String( "herv\u00e9" ); // Hervé in Unicode
byte[] utf8 = Strings.getBytesUtf8( name );
System.out.println( Strings.dumpBytes( utf8 ) );
String utf8Base64 = new String( Base64.encode( utf8 ) );
System.out.println( "Herv\u00e9 utf-8 base 64 encoded : " + utf8Base64 );
byte[] iso8859 = name.getBytes( "ISO-8859-1" );
System.out.println( Strings.dumpBytes( iso8859 ) );
String iso8859Base64 = new String( Base64.encode( iso8859 ) );
System.out.println( "Herv\u00e9 ISO-8859-1 base 64 encoded : " + iso8859Base64 );
}
produces :
0x68 0x65 0x72 0x76 0xC3 0xA9
Hervé utf-8 base 64 encoded : aGVydsOp
0x68 0x65 0x72 0x76 0xE9
Hervé ISO-8859-1 base 64 encoded : aGVyduk=
> confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
> -------------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows XP pro
> Reporter: julien2512
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DIRSTUDIO-802) Confusion between ISO-8859-1 and
UTF-8 in the Encode/Decode dialog
Posted by "Pierre-Arnaud Marcelot (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre-Arnaud Marcelot resolved DIRSTUDIO-802.
----------------------------------------------
Resolution: Fixed
Fixed at revision 1311698.
http://svn.apache.org/viewvc?rev=1311698&view=rev
> Confusion between ISO-8859-1 and UTF-8 in the Encode/Decode dialog
> ------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3, 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
> Environment: Windows XP pro
> Reporter: julien2512
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Fix For: 2.0.0-M4, 2.0.0
>
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DIRSTUDIO-802) Confusion between ISO-8859-1 and
UTF-8 in the Encode/Decode dialog
Posted by "Pierre-Arnaud Marcelot (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre-Arnaud Marcelot updated DIRSTUDIO-802:
---------------------------------------------
Component/s: studio-ldapbrowser
> Confusion between ISO-8859-1 and UTF-8 in the Encode/Decode dialog
> ------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldapbrowser
> Affects Versions: 1.5.3, 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
> Environment: Windows XP pro
> Reporter: julien2512
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Fix For: 2.0.0-M4, 2.0.0
>
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (DIRSTUDIO-802) confusion between
ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
Posted by "julien2512 (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248144#comment-13248144 ]
julien2512 edited comment on DIRSTUDIO-802 at 4/6/12 7:02 AM:
--------------------------------------------------------------
Look at these two files showing the conversion result in my Apache Directory Studio 1.5.3.v20100330 version.
hervé in ISO-8859-1 => aGVydsOp
hervé in UTF-8 => aGVyduk=
What do you thing of ?
I'll carry my code later (if necessary), i have to work ; ).
was (Author: julien2512):
Two files showing the conversion result in my Apache Directory Studio 1.5.3.v20100330 version.
> confusion between ISO-8859-1 and UTF-8 in the encode/decode LDAP gui tool
> -------------------------------------------------------------------------
>
> Key: DIRSTUDIO-802
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-802
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows XP pro
> Reporter: julien2512
> Priority: Minor
> Labels: decode, encode, iso-8859-1, utf8
> Attachments: encode-decode LDAP demo 1.PNG, encode-decode LDAP demo 2.PNG
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira