MySQL Connector/Python Developer Guide

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.