Character set codes for CPACKAGE, CSERIESTOTEXT, and CTEXT

The second argument of the CPACKAGE, CSERIESTOTEXT, and CTEXT functions specifies the character set of the output of the function. The value of the second argument (the character set of the object content), must be a valid character set code.

All actions done that use the text string that results from one of these functions (CPACKAGE, CSERIESTOTEXT, or CTEXT) treat the text string as being of the specified character set–it is not automatically treated as Native.

Character set code Data language
Native Native
ASCII ASCII (deprecated)
EBCDIC EBCDIC (deprecated)
UNICODE_BE UNICODE Big Endian (deprecated)
EUC EUC (deprecated)
SJIS SJIS (deprecated)
IBMKANJI IBM Kanji (deprecated)
CIIKANJI CII Kanji (deprecated)
JIS JIS (deprecated)
UNICODE_LE UNICODE Little Endian (deprecated)
UTF-8 UTF-8 (deprecated)
Latin1 Latin1 (deprecated)
UTF-8\ibm-1208 UTF-8
UTF-16 UTF-16
UTF-16BE UTF-16 Big Endian
UTF-16LE UTF-16 Little Endian
UTF-32 UTF-32
UTF-32BE UTF-32 Big Endian
UTF-32LE UTF-32 Little Endian
UTF16_PlatformEndian UTF-16 Platform Endian
UTF16_OppositeEndian UTF-16 Opposite Endian
UTF32_PlatformEndian UTF-32 Platform Endian
UTF32_OppositeEndian UTF-32 Opposite Endian
UTF-16BE,version=1 UTF-16BE,version=1
UTF-16LE,version=1 UTF-16LE,version=1
UTF-16,version=1 UTF-16,version=1
UTF-16,version=2 UTF-16,version=2
UTF-7 UTF-7
IMAP-mailbox-name IMAP-mailbox-name
SCSU SCSU
BOCU-1 BOCU-1
CESU-8 CESU-8
ISO-8859-1 Latin1
US-ASCII US-ASCII
gb18030 gb18030
ibm-912_P100-1995 Latin2
ibm-913_P100-2000 Latin3
ibm-914_P100-1995 CESU-8
ibm-915_P100-1995 Cyrillic
ibm-1089_P100-1995 Arabic
ibm-9005_X110-2007 Greek8
ibm-813_P100-1995 ibm-813
ibm-5012_P100-1999 Hebrew
ibm-916_P100-1995 ibm-916
ibm-920_P100-1995 Latin5
iso-8859_10-1998 Latin6
Iso-8859_11-2001 Thai8
ibm-921_P100-1995 ibm-921
iso-8859_14-1998 Latin8
ibm-923_P100-1998 Latin-9
ibm-942_P12A-1999 shift_jis78
ibm-943_P15A-2003 MS_Kanji
ibm-943_P130-1999 Shift_JIS
ibm-33722_P12A-1999 EUC-JP
ibm-33722_P120-1999 ibm-33722_P120-1999
ibm-954_P101-2000 ibm-954_P101-2000
ibm-1373_P100-2002 ibm-1373_P100-2002
windows-950-2000 Big5
ibm-950_P110-1999 ibm-950_P110-1999
ibm-1375_P100-2003 Big5-HKSCS (IBM)
ibm-5471_P100-2006 ibm-5471_P100-2006
ibm-1386_P100-2001 ibm-1386_P100-2001
windows-936-2000 GBK
ibm-1383_P110-1999 EUC-CN
ibm-5478_P100-1995 GB_2312-80
ibm-964_P110-1999 EUC-TW
ibm-949_P110-1999 ibm-949_P110-1999
ibm-949_P11A-1999 ibm-949_P11A-1999
ibm-970_P110-1995 ibm-eucKR
ibm-971_P100-1995 ibm-971_P100-1995
ibm-1363_P11B-1998 ibm-1363 (korean)
ibm-1363_P110-1997 ibm-1363_P110-1997
windows-949-2000 Windows 949 (korean)
windows-874-2000 Windows 874
ibm-874_P100-1995 ibm-874
ibm-1162_P100-1999 ibm-1162
ibm-437_P100-1995 ibm-437
ibm-720_P100-1997 ibm-720
ibm-737_P100-1997 ibm-737
ibm-775_P100-1996 ibm-775
ibm-850_P100-1995 ibm-850
ibm-851_P100-1995 ibm-851
ibm-852_P100-1995 ibm-852
ibm-855_P100-1995 ibm-855
ibm-856_P100-1995 ibm-856
ibm-857_P100-1995 ibm-857
ibm-858_P100-1997 ibm-858
ibm-860_P100-1995 ibm-860
ibm-861_P100-1995 ibm-861
ibm-862_P100-1995 ibm-862
ibm-863_P100-1995 ibm-863
ibm-864_X110-1999 ibm-864
ibm-865_P100-1995 ibm-865
ibm-866_P100-1995 ibm-866
ibm-867_P100-1998 ibm-867
ibm-868_P100-1995 ibm-868
ibm-869_P100-1995 ibm-869
ibm-878_P100-1996 KOI8-R
ibm-901_P100-1999 ibm-901
ibm-902_P100-1999 ibm-902
ibm-922_P100-1999 ibm-922
ibm-1168_P100-2002 KOI8-U
ibm-4909_P100-1999 ibm-4909
ibm-5346_P100-1998 ibm-5346
ibm-5347_P100-1998 ibm-5347
ibm-5348_P100-1997 ibm-5348
ibm-5349_P100-1998 ibm-5349
ibm-5350_P100-1998 ibm-5350
ibm-9447_P100-2002 ibm-9447
ibm-9448_X100-2005 ibm-9448
ibm-9449_P100-2002 ibm-9449
ibm-5354_P100-1998 ibm-5354
ibm-1250_P100-1995 ibm-1250
ibm-1251_P100-1995 ibm-1251
ibm-1252_P100-2000 ibm-1252
ibm-1253_P100-1995 ibm-1253
ibm-1254_P100-1995 ibm-1254
ibm-1255_P100-1995 ibm-1255
ibm-5351_P100-1998 ibm-5351
ibm-1256_P110-1997 ibm-1256
ibm-5352_P100-1998 ibm-5352
ibm-1257_P100-1995 ibm-1257
ibm-5353_P100-1998 ibm-5353
ibm-1258_P100-1997 ibm-1258
macos-0_2-10.2 macintosh
macos-6-10.2 x-mac-greek
macos-7_3-10.2 x-mac-cyrillic
macos-29-10.2 x-mac-ce
macos-35-10.2 x-mac-turkish
ibm-1051_P100-1995 hp-roman8
ibm-1276_P100-1995 ibm-1276 (Adobe Standard Encoding)
ibm-1006_P100-1995 ibm-1006
ibm-1098_P100-1995 ibm-1098
ibm-1124_P100-1996 ibm-1124
ibm-1125_P100-1997 ibm-1125
ibm-1129_P100-1997 ibm-1129
ibm-1131_P100-1997 ibm-1131
ibm-1133_P100-1997 ibm-1133
ISO_2022,locale=ja,version=0 ISO_2022,locale=ja,version=0
ISO_2022,locale=ja,version=1 ISO_2022,locale=ja,version=1 (JIS)
ISO_2022,locale=ja,version=2 ISO_2022,locale=ja,version=2
ISO_2022,locale=ja,version=3 ISO_2022,locale=ja,version=3 (JIS7)
ISO_2022,locale=ja,version=4 ISO_2022,locale=ja,version=4 (JIS8)
ISO_2022,locale=ko,version=0 ISO_2022,locale=ko,version=0
ISO_2022,locale=ko,version=1 ISO_2022,locale=ko,version=1
ISO_2022,locale=zh,version=0 ISO_2022,locale=zh,version=0
ISO_2022,locale=zh,version=1 ISO_2022,locale=zh,version=1
ISO_2022,locale=zh,version=2 ISO_2022,locale=zh,version=2
HZ HZ-GB-2312
x11-compound-text x11-compound-text
ISCII,version=0 x-iscii-de
ISCII,version=1 x-iscii-be
ISCII,version=2 x-iscii-pa
ISCII,version=3 x-iscii-gu
ISCII,version=4 x-iscii-or
ISCII,version=5 x-iscii-ta
ISCII,version=6 x-iscii-te
ISCII,version=7 x-iscii-ka
ISCII,version=8 x-iscii-ma
LMBCS-1 LMBCS-1
ibm-37_P100-1995 ibm-037 (ebcdic-cp-us/ca/wt/nl)
ibm-273_P100-1995 ebcdic-de
ibm-277_P100-1995 EBCDIC-CP-DK/NO
ibm-278_P100-1995 ebcdic-cp-fi/se/sv
ibm-280_P100-1995 ebcdic-cp-it
ibm-284_P100-1995 ebcdic-cp-es
ibm-285_P100-1995 ebcdic-cp-gb
ibm-290_P100-1995 EBCDIC-JP-kana
ibm-297_P100-1995 ebcdic-cp-fr
ibm-420_X120-1999 ebcdic-cp-ar1
ibm-424_P100-1995 ebcdic-cp-he
ibm-500_P100-1995 ebcdic-cp-be/ch
ibm-803_P100-1999 ibm-803
ibm-838_P100-1995 IBM-Thai
ibm-870_P100-1995 ebcdic-cp-roece/yu
ibm-871_P100-1995 ebcdic-is
ibm-875_P100-1995 ibm-875
ibm-918_P100-1995 ebcdic-cp-ar2
ibm-930_P120-1999 ibm-930
ibm-933_P110-1995 ibm-933
ibm-935_P110-1999 ibm-935
ibm-937_P110-1999 ibm-937
ibm-939_P120-1999 ibm-939
ibm-1025_P100-1995 ibm-1025
ibm-1026_P100-1995 ibm-1026
ibm-1047_P100-1995 ibm-1047
ibm-1097_P100-1995 ibm-1097
ibm-1112_P100-1995 ibm-1112
ibm-1122_P100-1999 ibm-1122
ibm-1123_P100-1995 ibm-1123
ibm-1130_P100-1997 ibm-1130
ibm-1132_P100-1998 ibm-1132
ibm-1137_P100-1999 ibm-1137
ibm-4517_P100-2005 ibm-4517
ibm-1140_P100-1997 ibm-1140 (ebcdic-us-37+euro)
ibm-1141_P100-1997 ibm-1141 (ebcdic-de-273+euro)
ibm-1142_P100-1997 ibm-1142 (ebcdic-dk/no-277+euro)
ibm-1143_P100-1997 ibm-1143 (ebcdic-fi/se-278+euro)
ibm-1144_P100-1997 ibm-1144 (ebcdic-it-280+euro)
ibm-1145_P100-1997 ibm-1145 (ebcdic-es-284+euro)
ibm-1146_P100-1997 ibm-1146 (ebcdic-gb-285+euro)
ibm-1147_P100-1997 ibm-1147 (ebcdic-fr-297+euro)
ibm-1148_P100-1997 ibm-1148 (ebcdic-international+euro)
ibm-1149_P100-1997 ibm-1149 (ebcdic-is-871+euro)
ibm-1153_P100-1999 ibm-1153
ibm-1154_P100-1999 ibm-1154
ibm-1155_P100-1999 ibm-1155
ibm-1156_P100-1999 ibm-1156
ibm-1157_P100-1999 ibm-1157
ibm-1158_P100-1999 ibm-1158
ibm-1160_P100-1999 ibm-1160
ibm-1164_P100-1999 ibm-1164
ibm-1364_P110-1997 ibm-1364
ibm-1371_P100-1999 ibm-1371
ibm-1388_P103-2001 ibm-1388
ibm-1390_P110-2003 ibm-1390
ibm-1399_P110-2003 ibm-1399
ibm-5123_P100-1999 ibm-5123
ibm-8482_P100-1999 ibm-8482
ibm-16684_P110-2003 ibm-16684
ibm-4899_P100-1998 ibm-4899
ibm-4971_P100-1999 ibm-4971
ibm-9067_X100-2005 ibm-9067
ibm-12712_P100-1998 ebcdic-he
ibm-16804_X110-1999 ebcdic-ar
ibm-37_P100-1995,swaplfnl ibm-37-s390
ibm-1047_P100-1995,swaplfnl ibm-1047-s390
ibm-1140_P100-1997,swaplfnl ibm-1140-s390
ibm-1141_P100-1997,swaplfnl ibm-1141-s390
ibm-1142_P100-1997,swaplfnl ibm-1142-s390
ibm-1143_P100-1997,swaplfnl ibm-1143-s390
ibm-1144_P100-1997,swaplfnl ibm-1144-s390
ibm-1145_P100-1997,swaplfnl ibm-1145-s390
ibm-1146_P100-1997,swaplfnl ibm-1146-s390
ibm-1147_P100-1997,swaplfnl ibm-1147-s390
ibm-1148_P100-1997,swaplfnl ibm-1148-s390
ibm-1149_P100-1997,swaplfnl ibm-1149-s390
ibm-1153_P100-1999,swaplfnl ibm-1153-s390
ibm-12712_P100-1998,swaplfnl ibm-12712-s390
ibm-16804_X110-1999,swaplfnl ibm-16804-s390
ebcdic-xml-us ebcdic-xml-us