MySQL Forums
Forum List  »  Connector/Python

Re: insert unicode string
Posted by: Andy Dustman
Date: February 28, 2007 05:30PM

This problem is fixed in the current test version. But you should be doing this instead:

sb = u'รก'

c.execute("insert into unit (code) values (%s)", (sb,))

Options: ReplyQuote

Written By
August 25, 2006 06:49AM
December 08, 2006 02:28AM
August 15, 2007 01:12PM
Re: insert unicode string
February 28, 2007 05:30PM

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.