Documentation Home
MySQL Connector/Python Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.6Mb
PDF (A4) - 0.6Mb
HTML Download (TGZ) - 83.7Kb
HTML Download (Zip) - 99.4Kb


MySQL Connector/Python Developer Guide  /  Connector/Python C Extension API Reference  /  _mysql_connector.MySQL.use_unicode() Method

11.43 _mysql_connector.MySQL.use_unicode() Method

Syntax:

is_unicode = ccnx.use_unicode()      # getter
ccnx.use_unicode(bool)               # setter

With no argument, returns True or False to indicate whether the MySQL instance returns nonbinary strings as Unicode.

With a boolean argument, sets whether the MySQL instance returns nonbinary strings as Unicode.


User Comments
Sign Up Login You must be logged in to post a comment.