Documentation Home
MySQL Connector/Python Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.7Mb
PDF (A4) - 0.7Mb


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

11.19 _mysql_connector.MySQL.get_character_set_info() Method

Syntax:

info = ccnx.get_character_set_info()

Returns information about the default character set for the current MySQL session. The returned dictionary has the keys number, name, csname, comment, dir, mbminlen, and mbmaxlen.