probleme with escape-encoding

Jan Idzikowski idzikowski at atsolute.com
Mon May 6 15:36:56 CEST 2002


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