MySQL Connector/C++ 9.3.0
MySQL connector library for C and C++ applications
All Classes Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
mysql_charsets.h
1/*
2 * Copyright (c) 2016, 2024, Oracle and/or its affiliates.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License, version 2.0, as
6 * published by the Free Software Foundation.
7 *
8 * This program is designed to work with certain software (including
9 * but not limited to OpenSSL) that is licensed under separate terms, as
10 * designated in a particular file or component or in included license
11 * documentation. The authors of MySQL hereby grant you an additional
12 * permission to link the program and your derivative works with the
13 * separately licensed software that they have either included with
14 * the program or referenced in the documentation.
15 *
16 * Without limiting anything contained in the foregoing, this file,
17 * which is part of Connector/C++, is also subject to the
18 * Universal FOSS Exception, version 1.0, a copy of which can be found at
19 * https://oss.oracle.com/licenses/universal-foss-exception.
20 *
21 * This program is distributed in the hope that it will be useful, but
22 * WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 * See the GNU General Public License, version 2.0, for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software Foundation, Inc.,
28 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29 */
30/*
31 Lists of character sets known to CDK string codec (see codec.h).
32
33 Note: Keep this file in sync with <mysql/cdk/charsets.h>
34*/
35
36
37#ifndef MYSQLX_MYSQL_CHARSETS_H
38#define MYSQLX_MYSQL_CHARSETS_H
39
40#define CDK_CS_LIST(X) \
41 X(big5) \
42 X(dec8) \
43 X(cp850) \
44 X(hp8) \
45 X(koi8r) \
46 X(latin1) \
47 X(latin2) \
48 X(swe7) \
49 X(ascii) \
50 X(ujis) \
51 X(sjis) \
52 X(hebrew) \
53 X(tis620) \
54 X(euckr) \
55 X(koi8u) \
56 X(gb2312) \
57 X(greek) \
58 X(cp1250) \
59 X(gbk) \
60 X(latin5) \
61 X(armscii8) \
62 X(utf8mb3) \
63 X(ucs2) \
64 X(cp866) \
65 X(keybcs2) \
66 X(macce) \
67 X(macroman) \
68 X(cp852) \
69 X(latin7) \
70 X(utf8mb4) \
71 X(cp1251) \
72 X(utf16) \
73 X(utf16le) \
74 X(cp1256) \
75 X(cp1257) \
76 X(utf32) \
77 X(binary) \
78 X(geostd8) \
79 X(cp932) \
80 X(eucjpms) \
81 X(gb18030) \
82
83#endif