peculiar problem
Michael Ströder
michael at stroeder.com
Wed Mar 14 05:54:15 CET 2007
Anil,
please keep replies to the python-ldap-dev list.
Anil Jangity wrote:
>
> But, why couldn't python-ldap automatically encode as utf-8? Is it
> because of performance issues?
Each attribute has different syntax, e.g. 'jpegPhoto' etc. So you have
to look at the schema to do the right thing. Or the application has
prior knowledge like most people are implementing it.
Strictly speaking in case of attribute 'mail' one would have to encode
as 'ascii' since the LDAP syntax for this is IA5String and ASCII is the
closest to this.
Ciao, Michael.
More information about the python-ldap
mailing list