mysql_character_set_name — returns the name of the current client character set

const char * mysql_character_set_name(MYSQL * mysql);

Returns the name of the current client character set for the specified connection.

Parameters

mysql

A mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().

Return value

The default client character set for the specified connection

[Note]

See also