Im getting some data from the web & inserting to a MySQL 5.1 db via mysql-python.
s = conn.escape_string(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 15: ordinal not in range(128)
How do I insert a unicode string ?
Thanks
s = conn.escape_string(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 15: ordinal not in range(128)
How do I insert a unicode string ?
Thanks