A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mariadb.com/docs/connectors/mariadb-connector-c/api-functions/mysql_set_character_set below:

mysql_set_character_set | MariaDB Documentation

mysql_set_character_set | MariaDB Documentation
  1. Connector/C
  2. MariaDB Connector/C API Functions
mysql_set_character_set
int mysql_set_character_set(MYSQL * mysql,
                            const char * csname);

Sets the default character set for the current connection. Returns zero on success, non-zero on failure.

It's strongly recommended to use mysql_set_character_set() instead of SET NAMES ... since mysql_real_escape_string() might fail or deliver unexpected results.

The client library supports the following character sets:

8-bit character set for Armenian

2-byte character set for traditional Chinese, Hongkong, Macau and Taiwan

8-bit binary character set

Windows code page 1250-character set

Windows code page 1251-character set

Windows code page 1256-character set

Windows code page 1257-character set

MS-DOS Codepage 850 (Western Europe)

MS-DOS Codepage 852 (Middle Europe)

MS-DOS Codepage 866 (Russian)

Microsoft Codepage 932 (Extension to sjis)

UJIS for Windows Japanese

GB-2312 simplified Chinese

DOS Kamenicky Czech-Slovak

ISO 8859-2 Central Europe

SJIS for Windows Japanese


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4