string escaping problems with MySQLdb

BxT bxt at nospam.nospam
Tue Jan 9 08:20:00 EST 2001


Hi, i know this is a new-bie question,
i'm using MySQLdb and, as i'm extracting records, i get string escaped as
follows:
for example, instead of ß i'm getting \\337 (yes, with doppel \). When i'm
printing the string i'm getting blah\337 (internally is blah\\337). I tried
to use string.replace but it's giving me the same string. Is there a way to
print blahß?
For now, thanks in advance,
BxT





More information about the Python-list mailing list