Howard Chu wrote:
Erwann ABALEA wrote:Do you have any document or pointer to understand the task of converting to/from T.61, and incompatible character sets you talked about? I Googled for this, but I'm not sure of what I found (what I found reminds me of old character sets we used many years ago in France for the Minitel, with G1/G2 character groups, etc, not that far from VT consoles).You can reference this old draft; I wrote Appendix A and B to document the mapping as we understood it at that time. These Appendices were dropped from the final version because it was considered futile to attempt to document the T.61 character encoding rules. http://tools.ietf.org/html/draft-ietf-ldapbis-strprep-00#appendix-A You can also read libldap/t61.c; the code has been present in every OpenLDAP release since 2002 but is not compiled or used.
This Guide has a pretty good discussion of the issues. http://www.cs.auckland.ac.nz/~pgut001/pubs/x509guide.txtThe section on "Character Sets" is particularly relevant. The section on "Comparing DNs" is somewhat relevant, though in fact OpenLDAP has already solved this problem (for all the string types besides T61String) by doing all matching in UTF-8.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/