sqlalchemy and Unicode strings: errormessage

Wolfgang Meiners WolfgangMeiners01 at web.de
Tue May 31 12:10:43 EDT 2011


I just found a second method on
http://docs.python.org/howto/unicode

you can use tho module codecs and then simply write

import codecs
f = codecs.open('unicode.rst', encoding='utf-8')
for line in f:
    print repr(line)

Wolfgang



More information about the Python-list mailing list