[Date Prev][Date Next]
Re: ldap_explode_dn corrupts UTF-8 encoding (ITS#1890)
> OpenLDAP 2.1.2 seems to currupt non-ASCII UTF-8 encoded characters.
> It actually turns unprintable chars (in the ASCII sense) into \<hexcode>.
I think this is a leftover of when we decided to use UTF8 instead
of the '\' + HEXPAIR representation of non-ascii chars, and initially
it was intended; of course, when parsing a DN, one wants the correct
It's only a matter of passing a LDAP_DN_PRETTY flag to the conversion
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:email@example.com
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati