Inserting unicode strings
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
Anjanesh
Subject
Written By
Posted
Inserting unicode strings
November 21, 2009 03:26PM
December 02, 2009 02:13AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.