Documentation Home
Connectors and APIs Manual
Download this Manual
PDF (US Ltr) - 4.5Mb
PDF (A4) - 4.5Mb


6.9.2.54 MySQLConnection.use_unicode Property

This property sets and returns whether the connection uses Unicode with the value True or False.

Press CTRL+C to copy
# gets whether the connector returns string fields as unicode or not print(cnx.use_unicode) >> True # set or update use_unicode property cnx.use_unicode = False print(cnx.use_unicode) >> False