probleme with escape-encoding

Jens Vagelpohl jens at zope.com
Mon May 6 14:16:32 CEST 2002


jan,

this list is for the python-ldap module, not for products built on top of 
it. if you have a problem with the LDAPUserFolder please file a tracker 
issue:

http://www.dataflake.org/software/tracker

jens


On Monday, May 6, 2002, at 09:36 , Jan Idzikowski wrote:

> hallo,
>
> i have a problem with special german characters like "ö", "ä", "ü", "ß".
> in ldap it is '\xc3\xbc' for 'ü', but when i to get the user from 
> ldapuserfolder,
> i always get:
>  Error Type: UnicodeError
>  Error Value: ASCII decoding error: ordinal not in range(128)
>
>  in utils.py line 70 'return unicode( st )'
>
>  the problem is, that my entries in utf-8 and when i try unicode(st, 
> 'utf-8') it works
>
> have anybody a same problem?
>
> 


More information about the python-ldap mailing list