MySQL Connector/C++
MySQL connector library for C and C++ applications
Loading...
Searching...
No Matches
mysql_charsets.h
1/*
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
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 also distributed with certain software (including
9 * but not limited to OpenSSL) that is licensed under separate terms,
10 * as designated in a particular file or component or in included license
11 * documentation. The authors of MySQL hereby grant you an
12 * additional permission to link the program and your derivative works
13 * with the separately licensed software that they have included with
14 * MySQL.
15 *
16 * Without limiting anything contained in the foregoing, this file,
17 * which is part of MySQL Connector/C++, is also subject to the
18 * Universal FOSS Exception, version 1.0, a copy of which can be found at
19 * http://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/*
32 Lists of character sets known to CDK string codec (see codec.h).
33
34 Note: Keep this file in sync with <mysql/cdk/charsets.h>
35*/
36
37
38#ifndef MYSQLX_MYSQL_CHARSETS_H
39#define MYSQLX_MYSQL_CHARSETS_H
40
41#define CDK_CS_LIST(X) \
42 X(big5) \
43 X(dec8) \
44 X(cp850) \
45 X(hp8) \
46 X(koi8r) \
47 X(latin1) \
48 X(latin2) \
49 X(swe7) \
50 X(ascii) \
51 X(ujis) \
52 X(sjis) \
53 X(hebrew) \
54 X(tis620) \
55 X(euckr) \
56 X(koi8u) \
57 X(gb2312) \
58 X(greek) \
59 X(cp1250) \
60 X(gbk) \
61 X(latin5) \
62 X(armscii8) \
63 X(utf8mb3) \
64 X(ucs2) \
65 X(cp866) \
66 X(keybcs2) \
67 X(macce) \
68 X(macroman) \
69 X(cp852) \
70 X(latin7) \
71 X(utf8mb4) \
72 X(cp1251) \
73 X(utf16) \
74 X(utf16le) \
75 X(cp1256) \
76 X(cp1257) \
77 X(utf32) \
78 X(binary) \
79 X(geostd8) \
80 X(cp932) \
81 X(eucjpms) \
82 X(gb18030) \
83
84#endif