11.44 _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.