Character Data Representation Architecture

Appendix G. Control character mappings



This appendix contains the predefined default control character mappings used by CDRA when creating single-byte to single-byte round trip conversion tables.

It is important to note that these mappings are applied only after all of the matched graphic characters and matched control mnemonics have been mapped. If an output code point found in these tables has already been mapped, the corresponding input code point is added to the list of unmapped code points and mapped accordingly.

The EBCDIC control codes are defined in the IBM Corporate Standard, C-S 3-3220-002. The ISO-8 control codes are taken from ISO 6429. The IBM-PC control codes follow the definitions of ASCII in ANSI X3.4 with the following exceptions.

These exceptions arises from the use of X'1A' as the End of File in the IBM-PC operating systems, making X'1A' unsuitable as SUB.

Also note the use of X'14' and X'15' as graphic characters under exception conditions as described in "Exceptions".


EBCDIC to IBM-PC

Figure 97. Control Character Mapping - SBCS EBCDIC to IBM-PC


EBCDIC IBM-PC
Hex Abbreviation Character Name Hex Abbreviation Character Name
00 NUL Null 00 NUL Null
01 SOH Start of Heading 01 SOH Start of Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 EXT End of Text
04 SEL Select DC graphic (29)
05 HT Horizontal Tab 09 HT Horizontal/ Character Tabulation
06 RNL Required New Line C3 graphic (29)
07 DEL Delete 1C DEL Delete (28)
08 GE Graphic Escape CA graphic (29)
09 SPS Superscript B2 graphic (29)
0A RPT Repeat D5 graphic (29)
0B VT Vertical Tab 0B VT Vertical/Line Tabulation
0C FF Form Feed 0C FF Form Feed
0D CR Carriage Return 0D CR Carriage Return
0E SO Shift Out 0E SO/LS1 (38) Shift Out/Locking Shift 1
0F SI Shift In 0F SI/LS0 (38) Shift In/Locking Shift 0
10 DLE Data Link Escape 10 DLE Data Link Escape
11 DC1 Device Control 1 11 DC1/XON (38) Device Control 1/XON
12 DC2 Device Control 2 12 DC2 Device Control 2
13 DC3 Device Control 3 13 DC3/XOFF (38) Device Control 3/XOFF
14 RES/ENP Restore/Enable Presentation DB graphic (29)
15 NL New Line DA graphic (29)
16 BS Backspace 08 BS Backspace
17 POC Program Operator Communication C1 graphic (29)
18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Medium
1A UBS Unit Backspace Hex C8 graphic (29)
1B CU1 Customer Use 1 F2 graphic (29)
1C IFS Interchange File Separator 1A IS4/FS (38) Information Separator Four (28) / File Separator
1D IGS Interchange Group Separator 1D IS3/GS (38) Information Separator Three / Group Separator
1E IRS Interchange Record Separator 1E IS2/RS (38) Information Separator Two / Record Separator
1F IUS/ITB (38) Interchange Unit Separator/ Intermediate Transmission Block 1F IS1/US (38) Information Separator One / Unit Separator
20 DS Digit Select C4 graphic (29)
21 SOS. (39) Start of Significance B3 graphic (29)
22 FS Field Separator C0 graphic (29)
23 WUS Word Underscore D9 graphic (29)
24 BYP/INP Bypass or Inhibit Presentation BF graphic (29)
25 LF Line Feed 0A LF Line Feed
26 ETB End of Transmission Block 17 ETB End of Transmission Block
27 ESC Escape 1B ESC Escape
28 SA Set Attribute B4 graphic (29)
29 SFE Start Field Extended C2 graphic (29)
2A SM/SW (38) Set Mode/Switch C5 graphic (29)
2B CSP Control Sequence Prefix B0 graphic (29)
2C MFA Modify Field Attribute B1 graphic (29)
2D ENQ Enquiry 05 ENQ Enquiry
2E ACK Acknowledge 06 ACK Acknowledge
2F BEL Bell 07 BEL Bell
30 xxx Reserved CD graphic (29)
31 xxx Reserved BA graphic (29)
32 SYN Synchronous Idle 16 SYN Synchronous Idle
33 IR Index Return BC graphic (29)
34 PP Presentation Position BB graphic (29)
35 TRN Transparent C9 graphic (29)
36 NBS Numeric Backspace CC graphic (29)
37 EOT End of Transmission 04 EOT End of Transmission
38 SBS Subscript B9 graphic (29)
39 IT Indent Tab CB graphic (29)
3A RFF Required Form Feed CE graphic (29)
3B CU3 Customer Use 3 DF graphic (29)
3C DC4 Device Control 4 14 DC4 Device Control 4
3D NAK Negative Acknowledge 15 NAK Negative Acknowledge
3E xxx Reserved FE graphic (29)
3F SUB Substitute 7F SUB Substitute (28)
FF EO Eight Ones 9F graphic (29)


IBM-PC to EBCDIC

Figure 98. Control Character Mapping - SBCS IBM-PC DATA to EBCDIC


IBM-PC EBCDIC
Hex Abbreviation Character Name Hex Abbreviation Character Name
00 NUL Null 00 NUL Null
01 SOH Start of Heading 01 SOH Start of Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 EXT End of Text
04 EOT End of Transmission 37 EOT End of Transmission
05 ENQ Enquiry 2D ENQ Enquiry
06 ACK Acknowledge 2E ACK Acknowledge
07 BEL Bell 2F BEL Bell
08 BS Backspace 16 BS Backspace
09 HT Horizontal/ Character Tabulation 05 HT Horizontal Tab
0A LF Line Feed 25 LF Line Feed
0B VT Vertical/Line Tabulation 0B VT Vertical Tab
0C FF Form Feed 0C FF Form Feed
0D CR Carriage Return 0D CR Carriage Return
0E SO/LS1 (38) Shift Out/Locking Shift 1 0E SO Shift Out
0F SI/LS0 (38) Shift In/Locking Shift 0 0F SI Shift In
10 DLE Data Link Escape 10 DLE Data Link Escape
11 DC1/XON (38) Device Control 1/XON 11 DC1 Device Control 1
12 DC2 Device Control 2 12 DC2 Device Control 2
13 DC3/XOFF (38) Device Control 3/XOFF 13 DC3 Device Control 3
14 DC4 Device Control 4 3C DC4 Device Control 4
15 NAK Negative Acknowledge 3D NAK Negative Acknowledge
16 SYN Synchronous Idle 32 SYN Synchronous Idle
17 ETB End of Transmission Block 26 ETB End of Transmission Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Medium
1A IS4/FS (38) Information Separator Four (30)/ File Separator 1C IFS Interchange File Separator
1B ESC Escape 27 ESC Escape
1C DEL Delete (30) 07 DEL Delete
1D IS3/GS (38) Information Separator Three / Group Separator 1D IGS Interchange Group Separator
1E IS2/RS (38) Information Separator Two / Record Separator 1E IRS Interchange Record Separator
1F IS1/US (38) Information Separator One / Unit Separator 1F IUS/ITB (38) Interchange Unit Separator/ Intermediate Transmission Block
7F SUB Substitute (30) 3F SUB Substitute


ISO-8 to IBM-PC

Figure 99. Control Character Mapping - SBCS ISO-8 to IBM-PC


ISO-8 IBM-PC
Hex Abbreviation Character Name Hex Abbreviation Character Name
00 NUL Null 00 NUL Null
01 SOH Start of Heading 01 SOH Start of Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04 EOT End of Transmission 04 EOT End of Transmission
05 ENQ Enquiry 05 ENQ Enquiry
06 ACK Acknowledge 06 ACK Acknowledge
07 BEL Bell 07 BEL Bell
08 BS Backspace 08 BS Backspace
09 HT Horizontal / Character Tabulation 09 HT Horizontal / Character Tabulation
0A LF Line Feed 0A LF Line Feed
0B VT Vertical/ Line Tabulation 0B VT Vertical/ Line Tabulation
0C FF Form Feed 0C FF Form Feed
0D CR Carriage Return 0D CR Carriage Return
0E SO/LS1 (38) Shift Out/Locking Shift 1 0E SO/LS1 (38) Shift Out/Locking Shift 0
0F SI/LS0 (38) Shift In/Locking Shift 0 0F SI/LS0 (38) Shift In/Locking Shift 0
10 DLE Data Link Escape 10 DLE Data Link Escape
11 DC1/XON (38) Device Control 1/XON 11 DC1/XON (38) Device Control 1/XON
12 DC2 Device Control 2 12 DC2 Device Control 2
13 DC3/XOFF (38) Device Control 3/XOFF 13 DC3/XOFF (38) Device Control 3/XOFF
14 DC4 Device Control 4 14 DC4 Device Control 4
15 NAK Negative Acknowledge 15 NAK Negative Acknowledge
16 SYN Synchronous Idle 16 SYN Synchronous Idle
17 ETB End of Transmission Block 17 ETB End of Transmission Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Medium
1A SUB Substitute 7F SUB Substitute (31)
1B ESC Escape 1B ESC Escape
1C IS4/FS (38) Information Separator Four / File Separator 1A IS4/FS (38) Information Separator Four (31)
1D IS3/GS (38) Information Separator Three / Group Separator 1D IS3/GS (38) Information Separator Three / Group Separator
1E IS2/RS (38) Information Separator Two / Record Separator 1E IS2/RS (38) Information Separator Two / Record Separator
1F IS1/US (38) Information Separator One / Unit Separator 1F IS1/US (38) Information Separator One / Unit Separator
7F DEL Delete 1C DEL Delete (31)
80 xxx Reserved BA graphic (29)
81 xxx Reserved CD graphic (29)
82 BPH Break Permitted Here C9 graphic (29)
83 NBH No Break Here BB graphic (29)
84 IND Index C8 graphic (29)
85 NEL Next Line BC graphic (29)
86 SSA Start of Selected Area CC graphic (29)
87 ESA End of Selected Area B9 graphic (29)
88 HTS Character Tabulation Set CB graphic (29)
89 HTJ Character Tabulation with Justification CA graphic (29)
8A VTS Line Tabulation Set CE graphic (29)
8B PLD Partial Line Forward DF graphic (29)
8C PLU Partial Line Backward DC graphic (29)
8D RI Reverse Line Feed DB graphic (29)
8E SS2 Single Shift Two FE graphic (29)
8F SS3 Single Shift Three F2 graphic (29)
90 DCS Device Control String B3 graphic (29)
91 PU1 Private Use One C4 graphic (29)
92 PU2 Private Use Two DA graphic (29)
93 STS Set Transmit State BF graphic (29)
94 CCH Cancel Character C0 graphic (29)
95 MW Message Waiting D9 graphic (29)
96 SPA Start of Guarded Area C3 graphic (29)
97 EPA End of Guarded Area B4 graphic (29)
98 SOS Start of String C2 graphic (29)
99 xxx Reserved C1 graphic (29)
9A SCI Single Character Introducer C5 graphic (29)
9B CSI Control Sequence Introducer B0 graphic (29)
9C ST String Terminator B1 graphic (29)
9D OSC Operating System Command B2 graphic (29)
9E PM Privacy Message D5 graphic (29)
9F APC Appliction Program Command 9F graphic (29)


IBM-PC to ISO-8

Figure 100. Control Character Mapping - SBCS IBM-PC to ISO-8


IBM-PC ISO-8
Hex Abbreviation Character Name Hex Abbreviation Character Name
00 NUL Null 00 NUL Null
01 SOH Start of Heading 01 SOH Start of Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04 EOT End of Transmission 04 EOT End of Transmission
05 ENQ Enquiry 05 ENQ Enquiry
06 ACK Acknowledge 06 ACK Acknowledge
07 BEL Bell 07 BEL Bell
08 BS Backspace 08 BS Backspace
09 HT Horizontal/ Character Tabulation 09 HT Horizontal/ Character Tabulation
0A LF Line Feed 0A LF Line Feed
0B VT Vertical/Line Tabulation 0B VT Vertical/ Line Tabulation
0C FF Form Feed 0C FF Form Feed
0D CR Carriage Return 0D CR Carriage Return
0E SO/LS1 (38) Shift Out/Locking Shift 1 0E SO/LS0 (38) Shift Out/Locking Shift 0
0F SI/LS0 (38) Shift In/Locking Shift 0 0F SI/LS0 (38) Shift In/Locking Shift 0
10 DLE Data Link Escape 10 DLE Data Link Escape
11 DC1/XON (38) Device Control 1/XON 11 DC1/XON (38) Device Control 1
12 DC2 Device Control Two 12 DC2 Device Control Two
13 DC3/XOFF (38) Device Control 3/XOFF 13 DC3/XOFF (38) Device Control 3/XOFF
14 DC4 Device Control Four 14 DC4 Device Control Four
15 NAK Negative Acknowledge 15 NAK Negative Acknowledge
16 SYN Synchronous Idle 16 SYN Synchronous Idle
17 ETB End of Transmission Block 17 ETB End of Transmission Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Medium
1A IS4/FS (38) Information Separator Four / File Separator (33) 1C IS4/FS (38) Information Separator Four / File Separator
1B ESC Escape 1B ESC Escape
1C DEL Delete (33) 7F DEL Delete
1D IS3/GS (38) Information Separator Three / Group Separator 1D IS3/GS (38) Information Separator Three / Group Separator
1E IS2/RS (38) Information Separator Two / Record Separator 1E IS2/RS (38) Information Separator Two / Record Separator
1F IS1/US (38) Information Separator One / Unit Separator 1F IS1/US (38) Information Separator One / Unit Separator
7F SUB Substitute (33) 1A SUB Substitute


EBCDIC to ISO-8

Figure 101. Control Character Mapping - SBCS EBCDIC to ISO-8


EBCDIC ISO-8
Hex Abbreviation Character Name Hex Abbreviation Character Name
00 NUL Null 00 NUL Null
01 SOH Start of Heading 01 SOH Start of Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04 SEL Select 9C ST String Terminator
05 HT Horizontal Tab 09 HT Horizontal/ Character Tabulation
06 RNL Required New Line 86 SSA Start of Selected Area
07 DEL Delete 7F DEL Delete
08 GE Graphic Escape 97 EPA End of Guarded Area
09 SPS Superscript 8D RI Reverse Line Feed
0A RPT Repeat 8E SS2 Single Shift Two
0B VT Vertical Tab 0B VT Vertical/Line Tabulation
0C FF Form Feed 0C FF Form Feed
0D CR Carriage Return 0D CR Carriage Return
0E SO Shift Out 0F SO/LS1 (38) Shift Out/Locking Shift 1
0F SI Shift In 0F SI/LS0 (38) Shift In/Locking Shift 0
10 DLE Data Link Escape 10 DLE Data Link Escape
11 DC1 Device Control 1 11 DC1/XON (38) Device Control 1/XON
12 DC2 Device Control 2 12 DC2 Device Control 2
13 DC3 Device Control 3 13 DC3/XOFF (38) Device Control 3/XOFF
14 RES/ENP Restore/Enable Presentation 9D OSC Operating System Command
15 NL New Line 85 NEL Next Line
16 BS Backspace 08 BS Backspace
17 POC Program Operator Communication 87 ESA End of Selected Area
18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Medium
1A UBS Unit Backspace Hex 92 PU2 Private Use Two
1B CU1 Customer Use 1 8F SS3 Single Shift Three
1C IFS Interchange File Separator 1C IS4/FS (38) Information Separator Four / File Separator
1D IGS Interchange Group Separator 1D IS3/GS (38) Information Separator Three / Group Separator
1E IRS Interchange Record Separator 1E IS2/RS (38) Information Separator Two / Record Separator
1F IUS/ITB Interchange Unit Separator/ Intermediate Transmission Block 1F IS1/US (38) Information Separator One / Unit Separator
20 DS Digit Select 80 xxx Reserved
21 SOS. (39) Start of Significance 81 xxx Reserved
22 FS Field Separator 82 BPH Break Permitted Here
23 WUS Word Underscore 83 NBH No Break Here
24 BYP/INP Bypass or Inhibit Presentation 84 IND Index
25 LF Line Feed 0A LF Line Feed
26 ETB End of Transmission Block 17 ETB End of Transmission Block
27 ESC Escape 1B ESC Escape
28 SA Set Attribute 88 HTS Horizontal/ Character Tabulation Set
29 SFE Start Field Extended 89 HTJ Character Tabulation with Justification
2A SM/SW (38) Set Mode/Switch 8A VTS Vertical/ Line Tabulation Set
2B CSP Control Sequence Prefix 8B PLD Partial Line Forward
2C MFA Modify Field Attribute 8C PLU Partial Line Backward
2D ENQ Enquiry 05 ENQ Enquiry
2E ACK Acknowledge 06 ACK Acknowledge
2F BEL Bell 07 BEL Bell
30 xxx Reserved 90 DCS Device Control String
31 xxx Reserved 91 PU1 Private Use One
32 SYN Synchronous Idle 16 SYN Synchronous Idle
33 IR Index Return 93 STS Set Transmit State
34 PP Presentation Position 94 CCH Cancel Character
35 TRN Transparent 95 MW Message Waiting
36 NBS Numeric Backspace 96 SPA Start of Guarded Area
37 EOT End of Transmission 04 EOT End of Transmission
38 SBS Subscript 98 SOS Start of String
39 IT Indent Tab 99 xxx Reserved
3A RFF Required Form Feed 9A SCI Single Character Introducer
3B CU3 Customer Use 3 9B CSI Control Sequence Introducer
3C DC4 Device Control 4 14 DC4 Device Control 4
3D NAK Negative Acknowledge 15 NAK Negative Acknowledge
3E xxx Reserved 9E PM Privacy Message
3F SUB Substitute 1A SUB Substitute
FF EO Eight Ones 9F APC Application Program Command (35)


ISO-8 to EBCDIC

Figure 102. Control Character Mapping - SBCS ISO-8 to EBCDIC


ISO-8 EBCDIC
Hex Abbreviation Character Name Hex Abbreviation Character Name
00 NUL Null 00 NUL Null
01 SOH Start of Heading 01 SOH Start of Heading
02 STX Start of Text 02 STX Start of Text
03 ETX End of Text 03 ETX End of Text
04 EOT End of Transmission 37 EOT End of Transmission
05 ENQ Enquiry 2D ENQ Enquiry
06 ACK Acknowledge 2E ACK Acknowledge
07 BEL Bell 2F BEL Bell
08 BS Backspace 16 BS Backspace
09 HT Horizontal/ Character Tabulation 05 HT Horizontal Tab
0A LF Line Feed 25 LF Line Feed
0B VT Vertical/Line Tabulation 0B VT Vertical Tab
0C FF Form Feed 0C FF Form Feed
0D CR Carriage Return 0D CR Carriage Return
0E SO/SL1 (38) Shift Out/Locking Shift 1 0E SO Shift Out
0F SI/LS0 (38) Shift In/Locking Shift 0 0F SI Shift In
10 DLE Data Link Escape 10 DLE Data Link Escape
11 DC1/XON (38) Device Control 1/XON 11 DC1 Device Control 1
12 DC2 Device Control 2 12 DC2 Device Control 2
13 DC3/XOFF (38) Device Control 3/XOFF 13 DC3 Device Control 3
14 DC4 Device Control 4 3C DC4 Device Control 4
15 NAK Negative Acknowledge 3D NAK Negative Acknowledge
16 SYN Synchronous Idle 32 SYN Synchronous Idle
17 ETB End of Transmission Block 26 ETB End of Transmission Block
18 CAN Cancel 18 CAN Cancel
19 EM End of Medium 19 EM End of Medium
1A SUB Substitute 3F SUB Substitute
1B ESC Escape 27 ESC Escape
1C IS4/FS (38) Information Separator Four / File Separator 1C IFS Interchange File Separator
1D IS3/GS (38) Information Separator Three / Group Separator 1D IGS Interchange Group Separator
1E IS2/RS (38) Information Separator Two / Record Separator 1E IRS Interchange Record Separator
1F IS1/US (38) Information Separator One / Unit Separator 1F IUS/ITB (38) Interchange Unit Separator/ Intermediate Transmission Block
7F DEL Delete 07 DEL Delete
80 xxx Reserved 20 DS Digit Select
81 xxx Reserved 21 SOS. (39) Start of Significance
82 BPH Break Permitted Here 22 FS Field Separator
83 NBH No Break Here 23 WUS Word Underscore
25 IND Index 24 BYP/INP Bypass or Inhibit Presentation
85 NEL Next Line 15 NL New Line
86 SSA Start of Selected Area 06 RNL Required New Line
87 ESA End of Selected Area 17 POC Program Operator Communication
88 HTS Horizontal/ Character Tabulation Set 28 SA Set Attribute
89 HTJ Character Tabulation with Justification 29 SFE Start Field Extended
8A VTS Vertical/Line Tabulation Set 2A SM/SW Set Mode/Switch
8B PLD Partial Line Forward 2B CSP Control Sequence Prefix
8C PLU Partial Line Backward 2C MFA Modify Field Attribute
8D RI Reverse Line Feed 09 SPS Superscript
8E SS2 Single Shift Two 0A RPT Repeat
8F SS3 Single Shift Three 1B CU1 Customer Use One
90 DCS Device Control String 30 xxx Reserved
91 PU1 Private Use One 31 xxx Reserved
92 PU2 Private Use Two 1A UBS Unit Backspace Hex
93 STS Set Transmit State 33 IR Index Return
94 CCH Cancel Character 34 PP Presentation Position
95 MW Message Waiting 35 TRN Transparent
96 SPA Start of Guarded Area 36 NBS Numeric Backspace
97 EPA End of Guarded Area 08 GE Graphic Escape
98 SOS Start of String 38 SBS Subscript
99 xxx Reserved 39 IT Indent Tab
9A SCI Single Character Introducer 3A RFF Required Form Feed
9B CSI Control Sequence Introducer 3B CU3 Customer Use 3
9C ST String Terminator 04 SEL Select
9D OSC Operating System Command 14 RES/ENP Restore / Enable Presentation
9E PM Privacy Message 3E xxx Reserved
9F APC Application Program Command FF EO Eight Ones


Contact IBM

Need assistance with your globalization questions?