Skip to content

mariadb_get_charset_by_nr

Georg Richter edited this page Jun 10, 2023 · 1 revision

Name

mysql_get_charset_by_name - returns character set information for the specified character set number

Synopsis

#include <mysql.h>

MARIADB_CHARSET_INFO *mariadb_get_charset_by_name(uint cs_nr)

Description

Returns information about the specified character set number.

Parameters

  • cs_nr - a character set number.

Return values

Returns a pointer to MARIADB_CHARSET_INFO structure, or NULL if the specified character set number could not be found.

Notes

  • A complete list of supported character sets in the client library is listed in the function description for mysql_set_character_set().

See also

Clone this wiki locally