Dirk Hagemann wrote: > > What I want to do in the end is the following: I get some data from > Active Directory, then I create a SQL-statement including this data and > write this into the database.
Which API and protocol are you using to access Active Directory? If you access it via LDAP (e.g. using python-ldap) you will get back UTF-8 strings for textual attributes. Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list