python-ldap and encodings

Matias matiassurdi at gmail.com
Fri Aug 14 07:45:09 EDT 2009


Matias wrote:
> Hi!
> 
> I'm using python-ldap to create some entries on my openldap server.
> 
> The problem is that some of those entries have accented characters and 
> unicode text in general.
> 
> I'm wondering if there is any example or documentation on how to add
> or modify ldap objects whose values contains non-ascii characters,
> such as accents, and so on. As far as I understand, those values
> should be encoded using base64, but if I do that, I don't know how to
> indicate in the modlist that this is the encoded value and not the
> value itself.
> 
> Any help will be bery appreciated.
> 
> 
> Matias.
> 


Nevermind.... I was doing something really stupid.Don't ask please :-)




More information about the Python-list mailing list