mariadb_get_charset_by_nr - mariadb-corporation/mariadb-connector-c GitHub Wiki
mysql_get_charset_by_name - returns character set information for the specified character set number
#include <mysql.h>
MARIADB_CHARSET_INFO *mariadb_get_charset_by_name(uint cs_nr)
Returns information about the specified character set number.
-
cs_nr
- a character set number.
Returns a pointer to MARIADB_CHARSET_INFO structure, or NULL if the specified character set number could not be found.
- A complete list of supported character sets in the client library is listed in the function description for mysql_set_character_set().