From: <mi...@st...> - 2007-03-14 04:54:59
|
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. |