RFC 183
RFC 183
Winett
Request for Comments: 183 Lincoln Laboratory
NIC: 7127 July 21, 1971
Abstract
The uniquely map the ASCII codes into corresponding EBCDIC codes in a
consistent manner throughout the ARPA Network, this RFC describes and
defines the IBM Standard Extended BCD Interchanged Code.
Introduction
For each of the 34 ASCII controls (including space and delete) there
is a corresponding BDCDIC control (assigning ASCII control DC3 to the
EBCDIC code X’13’). For 85 of the 94 ASCII graphics, there is a
corresponding graphic in the basic EBCDIC set. Three different
correspondences can be made for the other 9 ASCII graphics.
Winett [Page 1]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
I. IBM Correspondence
a) IBM recommends the following ASCII duals with the basic EBCDIC
graphics.
Note that the EBCDIC graphic for exclamation point (!) is not chosen
to correspond to the ASCII for exclamation point (!), though this
would be a sensible choice, and thus another code must be used to
represent this graphic.
Graphic Code
l X’6A’
l X’79’
[diagonal slash] X’A1’
˜ X’E0’
[diagonal slash] XC0’
{ XD0’
}
Graphic Code
[carrot] X’71’
[ X’AD’
] X’BD’
{ X’8B’
} X’9B’
The codes for open bracket and close bracket are chosen since these
graphics appear on the TN print chain. The codes for left brace and
right brace are chosen rather than the codes in the special graphics
set for opening brace and closing brace, respectively, since these
graphics are similar and also appear on the TN print chain.
Winett [Page 2]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
| X’4F’ with |
|
b) Associate the basic EBCDIC graphic for cent with the ASCII graphic
for reverse slash.
This choice is made since the cent graphic is not an ASCII graphic
and is the only graphic in the basic EBCDIC set which would not
otherwise be associated with any ACII graphic.
‘ X’79’
[carrot] X’71’
[ X’AD’
] X’BD’
{ X’8B’
} X’9B’
The codes for open bracket and close bracket are chosen since these
graphic appear on the TN print chain. The codes for left brace and
right brace are chosen rather than the codes in the special graphics
set for opening brace and closing brace, respectively, since these
graphics are similar and also appear on the TN print chain.
Standards:
In order that the mapping from ASCII into EBCDIC and vice versa could
become standardized, I would appreciate comments on the above from
each site whose operating system uses EBCDIC as the internal code.
Winett [Page 3]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
Telnet Codes:
For those sites who may wish to provide our use TELNET services that
communicate using an EBCDIC code, a standard code must be specified.
The codes given in Figure 1 can form the basis for a standard.
Specific codes must also be specified for the TELNET control codes.
The following are suggested:
Hex Code
sync 38
break 39
NOP 3A
Return to ASCII FF
No echo 14
Echo 23
Hide input 24
To eliminate using one code for two graphics, I propose that the TN
graphics be associated with their corresponding code. The graphic
tilde (˜) might be assigned to the code X’E1’ rather than keeping the
dual with the graphic for degree. This would have no effect if the
Graphical Correspondence were chosen for the EBCDIC to ASCII mapping
with the code X’5F’ for logical not associated with tilde. The other
graphics of the publishing and printing option (Double Acute,
Inferior Hook, Macron, and Inferior Comma) which are not on the TN
print chain but have the same codes as graphics on the TN print chain
would not be considered to be part of the standard EBCDIC code.
Winett [Page 4]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
EBCDIC Questionnaire
Comments:
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
Winett [Page 5]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
20 ED DS Digit Select
21 ED SOS Start of Significance
22 ED FS Field Separator
23 (Reserved)
24 DC BYP Bypass
25 FE LF Line Feed
26 CC ETB End of Text Block
27 GR ESC Escape
28 (Reserved)
29 (Reserved)
2A DC SM Set Mode
2B CU CU2 Customer Use 2
2C (Reserved)
Winett [Page 6]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
2D CC ENQ Enquiry
2E CC ACK Acknowledge
2F DC BEL Bell
30 (Reserved)
31 (Reserved)
32 CC SYN Synchronous Idle
33 (Reversed)
34 DC PN Punch On
35 DC RS Reader Stop
36 GR UC Upper Case
37 CC EOT End of Transmission
38 (Reserved)
39 (Reserved)
3A (Reserved)
3B CU CU3 Customer Use 3
3C DC DC4 Device Control 4
3D CC NAK Negative Acknowledge
3E (Reserved)
3F GR SUB Substitute
Winett [Page 7]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
Figure 4
Categories of Control Functions
Winett [Page 8]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
*ASCII Graphic
Winett [Page 9]
RFC 183 EBCDIC Codes and Their Mapping to ASCII July 21, 1971
SB { Left Brace
SC [equal or less than] Equal or Less Than
SD [superscript (] Superscript Left Parenthesis
SE [superscript +] Superscript Plus Sign
SF + Plotting Cross
9B } Right Brace
9C [lozenge] Lozenge
9D [superscript )] Superscript Right Parenthesis
9E [plus or minus] Plus or Minus
9F [histogram] Histogram
AB [lower left corner] Lower Left Corner
AC [upper left corner] Upper Left Corner
AD [ Open Square Bracket
AE [= or >] Equal or Greater Than
AF [bullet] Bullet (Plotting Circle)
EB [lower right corner] Lower Right Corner
EC [upper right corner] Upper Right Corner
ED ] Close Square Bracket
EE [not equal] Not equal
EF --- Entended Dash
CD ’ Open Quote
DB [pound sign] Pound Sign
DC [section sign] Section Sign
DD [paragraph sign] Paragraph Sign
ED ’ Close Quote
This material has not been reviewed for public release and is
intended only for use with the ARPA network. It should not be quoted
or cited in any publication not related to the ARPA network.