3270cg encoding

From The x3270 Wiki
Jump to navigation Jump to search

Description

The x3270 fonts use a proprietary encoding scheme called 3270cg.

In the tables below, each cell has two lines, both of which are optional:

  • The special EBCDIC code or OIA symbol that it is used to display, or the Unicode equivalent code point
  • The glyph that is displayed

Cell colors

Cells with a pink background have different mappings in the 3270cg-7 (Greek) and 3270cg-8 (Hebrew) encodings.

Cells with a yellow background are APL characters, which are not implemented by all fonts.

Cells with a green background are line-drawing characters, which not implemented by all fonts.

Basic text and OIA code points
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _a _b _c _d _e _f
00_ NUL X'00'
 
RSP X'41'
 
U+20ac
EO X'FF'
U+00ad
-
U+003e
>
U+003C
<
U+005B
[
U+005D
]
U+0029
)
U+0028
(
U+007d
}
U+007b
{
01_ U+0020
 
U+003d
=
U+0027
'
U+0022
"
U+002f
/
U+005c
\
U+007c
|
U+00a6
¦
U+003f
?
U+0021
!
U+0024
$
U+00a2
¢
U+00a3
£
U+00a5
¥
U+20a7
U+00a4
¤
02_ U+0030
0
U+0031
1
U+0032
2
U+0033
3
U+0034
4
U+0035
5
U+0036
6
U+0037
7
U+0038
8
U+0039
9
U+00df
ß
U+00a7
§
U+0023
#
U+0040
@
U+0025
%
U+005f
_
03_ U+0026
&
U+002d
-
U+002e
.
U+002c
,
U+003a
:
U+002b
+
U+00ac
¬
U+00af
¯
U+00b0
°
U+00b7
·
U+005e
^
U+007e
~
U+00a8
¨
U+0060
`
U+00b4
´
U+00b8
¸
04_ U+00e0
à
U+00e8
è
U+00ec
ì
U+00f2
ò
U+00f9
ù
U+00e3
ã
U+00f5
õ
U+00ff
ÿ
U+00dd
Ý
U+00fd
ý
U+00e9
é
U+00bc
¼
U+00bd
½
U+00be
¾
U+00fc
ü
U+00e7
ç
05_ U+00e4
ä
U+00eb
ë
U+00ef
ï
U+00f6
ö
U+00b5
µ
U+00e2
â
U+00ea
ê
U+00ee
î
U+00f4
ô
U+00fb
û
U+00e1
á
U+00d7
×
U+00ed
í
U+00f3
ó
U+00fa
ú
U+00f1
ñ
06_ U+00c0
À
U+00c8
È
U+00cc
Ì
U+00d2
Ò
U+00d9
Ù
U+00c3
Ã
U+00d5
Õ
U+00b9
¹
U+00b2
²
U+00b3
³
U+00aa
ª
U+00ba
º
U+00ab
«
U+00bb
»
U+00a1
¡
U+00bf
¿
07_ U+00c4
Ä
U+00cb
Ë
U+00cf
Ï
U+00d6
Ö
U+00dc
Ü
U+00c2
Â
U+00ca
Ê
U+00ce
Î
U+00d4
Ô
U+00db
Û
U+00c1
Á
U+00c9
É
U+00cd
Í
U+00d3
Ó
U+00da
Ú
U+00d1
Ñ
08_ U+0061
a
U+0062
b
U+0063
c
U+0064
d
U+0065
e
U+0066
f
U+0067
g
U+0068
h
U+0069
i
U+006a
j
U+006b
k
U+006c
l
U+006d
m
U+006e
n
U+006f
o
U+0070
p
09_ U+0071
q
U+0072
r
U+0073
s
U+0074
t
U+0075
u
U+0076
v
U+0077
w
U+0078
x
U+0079
y
U+007a
z
U+00e6
ae
U+00f8
ø
U+00e5
å
U+00f7
÷
FM X'1E'
3270cg-fm.png
DUP X'1C'
3270cg-dup.png
0a_ U+0041
A
U+0042
B
U+0043
C
U+0044
D
U+0045
E
U+0046
F
U+0047
G
U+0048
H
U+0049
I
U+004a
J
U+004b
K
U+004c
L
U+004d
M
U+004e
N
U+004f
O
U+0050
P
0b_ U+0051
Q
U+0052
R
U+0053
S
U+0054
T
U+0055
U
U+0056
V
U+0057
W
U+0058
X
U+0059
Y
U+005a
Z
U+00c6
Æ
U+00d8
Ø
U+00c5
Å
U+00c7
Ç
U+003b
;
U+002a
*
0c_  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0d_ U+00a9
©
U+00ae
®
boxA
3270cg-boxA.png
insert
3270cg-insert.png
boxB
3270cg-boxB.png
box6
3270cg-box6.png
U+00b1
±
U+00d0
Ð
rightarrow
3270cg-rightarrow.png
U+00de
Þ
upshift
3270cg-upshift.png
human
3270cg-human.png
underB
3270cg-underB.png
downshift
3270cg-downshift.png
boxquestion
3270cg-boxquestion.png
boxsolid
3270cg-boxsolid.png
0e_  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0f_ badcommhi
3270cg-badcommhi.png
commhi
3270cg-commhi.png
commjag
3270cg-commjag.png
commlo
3270cg-commlo.png
clockleft
3270cg-clockleft.png
clockright
3270cg-clockright.png
lock
3270cg-lock.png
U+00f0
ð
leftarrow
3270cg-leftarrow.png
U+00fe
þ
keyleft
3270cg-keyleft.png
keyright
3270cg-keyright.png
box4
3270cg-box4.png
underA
3270cg-underA.png
magcard
3270cg-magcard.png
boxhuman
3270cg-boxhuman.png
Line-drawing and 3270cg-1a APL code points
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _a _b _c _d _e _f
10_  
 
GE X'41'
A
 
 
 
 
 
 
 
 
 
 
GE X'CA'
 
 
 
 
GE X'BA'
GE X'BB'
 
 
 
 
GE X'D0'
}
GE X'C0'
{
11_ GE X'40'
 
 
 
 
 
 
 
 
 
GE X'E0'
 
 
 
 
 
 
 
 
 
 
 
 
GE X'B1'
ε
GE X'B2'
ι
GE X'B6'
×
GE X'9F'
12_ GE X'F0'
GE X'F1'
¹
GE X'F2'
²
GE X'F3'
³
GE X'F4'
GE X'F5'
GE X'F6'
GE X'F7'
GE X'F8'
GE X'F9'
GE X'59'
R
 
 
 
 
 
 
 
 
 
 
13_  
 
 
 
 
 
 
 
 
 
 
 
 
 
GE X'BC'
GE X'90'
GE X'B3'
ρ
GE X'B0'
α
GE X'A1'
°
GE X'BD'
]
 
 
GE X'BE'
GE X'9D'
14_ GE X'44'
D
GE X'54'
M
GE X'58'
Q
GE X'CD'
GE X'DD'
GE X'46'
F
GE X'CF'
GE X'DF'
GE X'AD'
[
GE X'8D'
GE X'51'
J
GE X'B7'
\
GE X'B8'
÷
 
 
GE X'DC'
GE X'48'
H
15_ GE X'43'
C
GE X'53'
L
GE X'57'
P
GE X'CC'
GE X'A0'
GE X'42'
B
GE X'52'
K
GE X'56'
O
GE X'CB'
GE X'DB'
!
GE X'45'
E
GE X'BF'
GE X'55'
N
GE X'CE'
GE X'DE'
GE X'49'
I
16_ GE X'64'
U
GE X'74'
GE X'78'
GE X'ED'
GE X'FD'
GE X'66'
W
GE X'EF'
GE X'DA'
GE X'EA'
 
 
GE X'9A'
GE X'9B'
GE X'8A'
GE X'8B'
GE X'AA'
GE X'AB'
17_ GE X'63'
T
GE X'73'
GE X'77'
GE X'EC'
GE X'FC'
GE X'62'
S
GE X'72'
¨
GE X'76'
GE X'EB'
GE X'FB'
GE X'65'
V
GE X'71'
GE X'75'
GE X'EE'
GE X'FE'
GE X'69'
Z
18_ GE X'81'
3270cg-apl-2vertical.png
GE X'82'
3270cg-apl-2horizontal.png
GE X'83'
GE X'84'
GE X'85'
 
 
 
 
 
 
 
 
GE X'91'
GE X'92'
GE X'93'
GE X'94'
GE X'95'
 
 
 
 
19_  
 
 
 
GE X'A2'
GE X'A3'
GE X'A4'
3270cg-apl-subn.png
 
 
 
 
 
 
 
 
 
 
GE X'9C'
¤
GE X'70'
GE X'47'
G
GE X'E1'
 
 
 
 
1a_ GE X'C1'
GE X'C2'
+
GE X'C3'
GE X'C4'
GE X'C5'
GE X'C6'
GE X'C7'
GE X'C8'
§
 
 
GE X'D1'
GE X'D2'
-
GE X'D3'
GE X'D4'
GE X'D5'
GE X'D6'
GE X'D7'
1b_ GE X'D8'
 
 
GE X'E2'
GE X'E3'
GE X'E4'
GE X'E5'
GE X'E6'
GE X'E7'
 
 
 
 
GE X'9E'
±
GE X'80'
~
GE X'67'
X
GE X'68'
Y
 
 
 
 
1c_  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1d_ GE X'B4'
ω
GE X'AF'
 
 
 
 
 
 
 
 
GE X'8F'
GE X'AC'
 
 
GE X'AE'
 
 
 
 
 
 
 
 
 
 
 
 
1e_  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1f_  
 
 
 
 
 
 
 
 
 
 
 
 
 
GE X'8C'
 
 
GE X'8E'
 
 
 
 
 
 
 
 
 
 
 
 
NVT mode line-drawing code points
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _a _b _c _d _e _f
20_ U+2590
U+25cf
U+2591
U+2409
U+240c
U+240d
U+240a
U+00b0
°
U+00b1
±
U+2424
U+2409
U+2518
U+2510
U+250c
U+2514
U+253c
21_ U+23ba
U+23bb
U+2500
U+23bc
U+23bd
U+251c
U+2524
U+2534
U+252c
U+2502
U+2264
U+2265
U+03c0
π
U+2260
U+00a3
£
U+2022