mysql_character_set_name
mysql_character_set_name returns the name of the default client character set for a specified MariaDB Connector/C connection.
Syntax
const char * mysql_character_set_name(MYSQL * mysql);Parameter
mysql- a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Description
Returns the default client character set for the specified connection.
Return value
The character set name used for the specified connection.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

