User Guide > Encoding Reference > Constant Values for Encoding Parameters in EZscript
Was this helpful?
Constant Values for Encoding Parameters in EZscript
EZscript supports specific character set encodings. Use encoding values provided in the following table with functions that support an Encoding parameter.
The File functions FileRead, FileWrite, and FileAppend have optional encoding parameters that allow you to specify the preferred encoding.
The functions B64Encode, B64Decode, ChangeFromUnicode, and ChangeToUnicode also use the following encoding parameter values.
If you do not specify an encoding, the default value ENC_OEM is used.
Value
Constant Name
Encoding
Description
-4
ENC_UTF16
UTF-16
UTF-16 encoding of Unicode (into 16-bit characters)
-3
ENC_UTF8
UTF-8
UTF-8 encoding of Unicode (into 8-bit characters)
-2
ENC_UCS2
UCS-2
Standard two-byte Unicode (non-encoded)
0
ENC_OEM
OEM
Corresponding OEM code page (default)
1
ENC_ISO8859_1
ISO 8859-1
Widens or narrows by ignoring the upper byte
2
ENC_CP1252
CP1252
Standard Latin-1 code page
3
ENC_ISO8859_2
ISO 8859-2
ISO 8859-2 standard code page
4
ENC_ISO8859_3
ISO 8859-3
ISO 8859-3 standard code page
5
ENC_ISO8859_4
ISO 8859-4
ISO 8859-4 standard code page
6
ENC_ISO8859_5
ISO 8859-5
ISO 8859-5 standard code page
7
ENC_ISO8859_6
ISO 8859-6
ISO 8859-6 standard code page
8
ENC_ISO8859_7
ISO 8859-7
ISO 8859-7 standard code page
9
ENC_ISO8859_8
ISO 8859-8
ISO 8859-8 standard code page
10
ENC_ISO8859_9
ISO 8859-9
ISO 8859-9 standard code page
11
ENC_CP1250
CP1250
ANSI Latin-2 code page
12
ENC_CP1251
CP1251
ANSI Cyrillic code page
13
ENC_CP1253
CP1253
ANSI Greek code page
14
ENC_CP1254
CP1254
ANSI Turkish code page
15
ENC_CP1255
CP1255
ANSI Hebrew code page
16
ENC_CP1256
CP1256
ANSI Arabic code page
17
ENC_CP1257
CP1257
ANSI Baltic code page
18
ENC_CP1258
CP1258
ANSI Vietnamese code page
19
ENC_SHIFTJIS
Shift-JIS
Unicode Consortium mapping of JIS 0201, JIS 0208
20
ENC_CP932
CP932
ANSI Shift-JIS code page
21
ENC_GB2312
GB2312
ANSI Extended GB code page (Simplified Chinese)
22
ENC_KSC5601
KS_C_5601
ANSI Unified Hangul code page (Korean)
23
ENC_BIG5
Big5
ANSI Big 5 code page (Traditional Chinese)
24
ENC_CP037
CP037
EBCDIC USA/Canada (English) code page
25
ENC_CP500
CP500
EBCDIC International code page
26
ENC_CP875
CP875
EBCDIC Greek code page
27
ENC_CP1026
CP1026
EBCDIC Latin 5 (Turkish) code page
28
ENC_CP437
CP437
DOS Latin US code page
29
ENC_CP737
CP737
DOS Greek code page
30
ENC_CP775
CP775
DOS Baltic Rim code page
31
ENC_CP850
CP850
DOS Latin 1 code page
32
ENC_CP852
CP852
DOS Latin 2 code page
33
ENC_CP855
CP855
DOS Cyrillic code page
34
ENC_CP857
CP857
DOS Turkish code page
35
ENC_CP860
CP860
DOS Portuguese code page
36
ENC_CP861
CP861
DOS Icelandic code page
37
ENC_CP862
CP862
DOS Hebrew code page
38
ENC_CP863
CP863
Canada (French) code page
39
ENC_CP864
CP864
Arabic code page
40
ENC_CP865
CP865
DOS Nordic code page
41
ENC_CP866
CP866
DOS Cyrillic Russian code page
42
ENC_CP869
CP869
DOS Greek 2 code page
43
ENC_CP874
CP874
DOS Thai code page
44
ENC_CP273
CP273
EBCDIC Germany
45
ENC_CP277
CP277
EBCDIC Norway and Denmark
46
ENC_CP278
CP278
EBCDIC Sweden and Finland
47
ENC_CP280
CP280
EBCDIC Italy
48
ENC_CP284
CP284
EBCDIC Spain
49
ENC_CP285
CP285
EBCDIC United Kingdom
50
ENC_CP297
CP297
EBCDIC France
51
ENC_CP1051
CP1051
Roman-8
52
ENC_EUCJP
EUCJP
EUC-JP
53
ENC_EUCCN
EUCCN
EUC-CN
54
DJENC_EUCTW
EUCTW
EUC-TW
55
ENC_EUKR
EUCKR
EUC-KR
56
ENC_DEC
DEC
Japanese Digital VAX and Linux, DEC Kanji
57
ENC_IBM78EBCDIC
IBM78EBCDIC
Japanese IBM mainframe and AS/400, 1978 Kanji and non-kana
58
ENC_IBM78EBCDIK
IBM78EBCDIK
Japanese IBM mainframe and AS/400, 1978 Kanji and half-width kana
59
ENC_IBM83EBCDIC
IBM83EBCDIC
Japanese IBM mainframe and AS/400, 1983 Kanji and non-kana
60
ENC_IBM83EBCDIK
IBM83EBCDIK
Japanese IBM mainframe and AS/400, 1983 Kanji and half-width kana
61
ENC_JEF78EBCDIC
JEF78EBCDIC
Japanese Fujitsu FACOM, 1978 Kanji and non-kana
62
ENC_JEF78EBCDIK
JEF78EBCDIK
Japanese Fujitsu FACOM, 1978 Kanji and half-width kana
63
ENC_JEF83EBCDIC
JEF83EBCDIC
Japanese Fujitsu FACOM, 1983 Kanji and non-kana
64
ENC_JEF83EBCDIK
JEF83EBCDIK
Japanese Fujitsu FACOM, 1983 Kanji and half-width kana
65
ENC_NECJIPSE
NECJIPSE
Japanese NEC ACOS, NEC JIPS-E code
66
ENC_NECJIPSEINT
NECJIPSEINT
Japanese NEC ACOS, NEC JIPS-E internal code
67
ENC_NECJIPSJ
NECJIPSJ
Japanese NEC ACOS, NEC JIPS-J
68
ENC_NECJIPSJINT
NECJIPSJINT
Japanese NEC ACOS, NEC JIPS-J internal code
69
ENC_JIS83
JIS83
Japanese Public standard, Japanese Industrial Standard 1983
70
ENC_KEIS78EBCDIC
KEIS78EBCDIC
Japanese Hitachi HITACH, 1978 Kanji and non-kana
71
ENC_KEIS78EBCDIK
KEIS78EBCDIK
Japanese Hitachi HITACH, 1978 Kanji and half-width kana
72
ENC_KEIS83EBCDIC
KEIS83EBCDIC
Japanese Hitachi HITACH, 1983 Kanji and non-kana
73
ENC_KEIS83EBCDIK
KEIS83EBCDIK
Japanese Hitachi HITACH, 1983 Kanji and half-width kana
74
ENC_UnisysLETSJ
UnisysLETSJ
Japanese Unisys UNIVAC, UNIVAC LETS-J Kanji code
75
ENC_MELCOM
MELCOM
Japanese Mitsubishi MELCOM, Kanji code
76
ENC_JIS78
JIS78
Japanese Public standard, Japanese Industrial Standard 1978
77
ENC_IBM937EBCDIC
IBM937EBCDIC
Traditional Chinese IBM mainframe, AS/400
78
ENC_IBM950
IBM950
Traditional Chinese IBM mainframe
79
ENC_GB18030
GB18030
Chinese GB18030
80
ENC_BIG5_HKSCS
BIG5_HKSCS
HK Big5
81
ENC_CP851
CP851
Simplified Chinese GBK
82
ENC_WINDOWS_1251
WINDOWS_1251
Windows Cyrillic, with the Euro sign
83
ENC_WINDOWS_1252
WINDOWS_1252
Windows Latin 1, with the Euro sign
84
ENC_WINDOWS_1253
WINDOWS_1253
Windows Greek, with the Euro sign
85
ENC_WINDOWS_1254
WINDOWS_1254
Windows Turkish, with the Euro sign
86
ENC_WINDOWS_1255
WINDOWS_1255
Windows Hebrew, with the Euro sign
87
ENC_WINDOWS_1256
WINDOWS_1256
Windows Arabic, with the Euro sign
88
ENC_WINDOWS_1257
WINDOWS_1257
Windows Baltic, with the Euro sign
89
ENC_WINDOWS_1258
WINDOWS_1258
Windows Vietnamese, with the Euro sign
90
ENC_ISO_2022_JP
ISO_2022_JP
Japanese ISO-2022
91
ENC_ISO_2022_JP_1
ISO_2022_JP_1
Japanese ISO-2022-1
92
ENC_ISO_2022_JP_2
ISO_2022_JP_2
Japanese ISO-2022-2
93
ENC_JIS7
JIS7
Japanese JIS7
94
ENC_JIS8
JIS8
Japanese JIS8
95
ENC_ISO_2022_KR
ISO_2022_KR
Korean ISO-2022
96
ENC_ISO_2022_CN
ISO_2022_CN
Chinese ISO-2022
97
ENC_ISO_2022_CN_EXT
ISO_2022_CN_EXT
Chinese ISO-2022-EXT
98
ENC_HZ
HZ
Chinese HZ
99
ENC_CP420
CP420
EBCDIC Arabic (all presentation shapes)
100
ENC_CP424
CP424
EBCDIC Hebrew
101
ENC_CP838
CP838
EBCDIC Thai
102
ENC_CP870
CP870
EBCDIC Latin 2
103
ENC_CP871
CP871
EBCDIC Iceland
104
ENC_CP918
CP918
EBCDIC Urdu
105
ENC_IBM930EBCDIC
IBM930EBCDIC
EBCDIC host mixed Katakana-Kanji
106
ENC_IBM933EBCDIC
IBM933EBCDIC
EBCDIC mixed Korea
107
ENC_IBM939EBCDIC
IBM939EBCDIC
EBCDIC mixed Latin-Kanji
108
ENC_CP1025
CP1025
EBCDIC Cyrillic
109
ENC_CP1047
CP1047
EBCDIC Open systems Latin 1
110
ENC_CP1097
CP1097
EBCDIC Farsi
111
ENC_CP1112
ENC_CP1112
EBCDIC Baltic
112
ENC_CP1122
CP1122
EBCDIC Estonia
113
ENC_CP1123
CP1123
EBCDIC Cyrillic Ukraine
114
ENC_CP1130
CP1130
EBCDIC Vietnames
115
ENC_CP1132
CP1132
EBCDIC Lao
116
ENC_UTF32
UTF32
UFT32
117
ENC_UTF32BE
UTF32BE
UFT32 BE
118
ENC_UTF32LE
UTF32LE
UFT32 LE
Last modified date: 04/08/2022