RFC20

zhaozj2021-02-16  46

Organization: China Interactive Publishing Network (http://www.china-pub.com/)

RFC Document Chinese Translation Program (http://www.china-pub.com/compters/emook/aboutemook.htm)

E-mail: Ouyang@china-pub.com

Translator: Wang Quan Sheng (zeno1977 zeno1977@citiz.net)

Translation time: 2001-4-8

Copyright: This Chinese translation copyright belongs to China Interactive Publishing Network. Can be used for non-commercial use free reprint, but the translation and copyright information of this document must be retained.

Network Working Group VINT CERF

Request for Comments: 20 UCLA

October 16, 1969

RFC 20 ASCII format for network exchange

(RFC20 ASCII Format for Network Interchange)

table of Contents

1. Whenever 1

2. Standard code 2

3. Determination of characters and code 3

4. Figure 3

4.1 Control 3

4.2 Graphic Symbol 4

5. Definition 5

5.1 Overview 5

5.2 Control 5

5.3 Graphic Character 6

6. Consensus 6

Clearly, we recommend using an 8-digit code, of which the highest position is 0, and the remaining seven bits are standard 7-bit ASCII code. This can be used directly from the code given from the USAS X3, 4-1968 for the basic connection between the host and the host. Determine the rest character by receiving information about the remote host. For example, SRI uses "." (ASCII X'2e 'OR 2/14) as a row end character, and UCLA uses X'OD' or 0/13 (Enter) as a row end character.

Use range

The character code setting here is used in the usual information exchange between each information processing system, communication system, and related devices.

2. Standard code

| ----------------------------------------------------------------------------- --------------------- |

/ b7 ------------> | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |

BX bit / b6 ----------> | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 |

/ b5 --------> | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 |

| ----------------------------------------------- |

Column -> | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |

| B4 | B3 | B2 | B1 | Line | | | | | | | | |

----------------------------------------------------------------------------------------------------------- ---------------------

| 0 | 0 | 0 | 0 | 0 | NUL | DLE | SP | 0 | @ | P | `| P |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 0 | 0 | 0 | 1 | 1 | SOH | DC1 |! | 1 | A | Q | A | Q || --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |

| 0 | 0 | 1 | 0 | 2 | STX | DC2 | | 2 | B | R | B | R |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 0 | 0 | 1 | 1 | 3 | ETX | DC3 | # | 3 | C | s | c | s |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 0 | 1 | 0 | 0 | 4 | Eot | DC4 | $ | 4 | D | T | D | T |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 0 | 1 | 0 | 1 | 5 | ENQ | NAK |% | 5 | E | U | E | U |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 0 | 1 | 1 | 0 | 6 | ACK | SYN | & | 6 | F | V | f | V |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 0 | 1 | 1 | 1 | 7 | Bel | ETB | '| 7 | G | W | G | W |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 1 | 0 | 0 | 0 | 8 | BS | CAN | (| 8 | H | x | H | x |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 1 | 0 | 0 | 1 | 9 | HT | EM |) | 9 | I | Y | I | Y |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 1 | 0 | 1 | 0 | 10 | LF | SUB | * |: | J | Z | J | Z |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 1 | 0 | 1 | 1 | 11 | VT | ESC | |; | K | [| K | {|

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 1 | 1 | 0 | 0 | 12 | FF | FS |, | <| L | / | L |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- || 1 | 1 | 0 | 1 | 13 | CR | GS | - | = | M |] | M |} |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 1 | 1 | 1 | 0 | 14 | SO | RS |. |> | N | ^ | n | ~ |

| --- | --- | --- | --- | ------ | ----- | ----- | ----- | ----- | --- | ----- | ----- | ----- |

| 1 | 1 | 1 | 1 | 15 | Si | US | / |? | O | _ | o | DEL |

----------------------------------------------------------------------------------------------------------- ---------------------

3. Character expression and code determination

The expression of the 7-bit standard code is as follows:

B7 is the highest bit, B1 is the lowest bit.

E.g:

Character "K" expression (located 11th line in the table, column 4)

B7 B6 B5 B4 B3 B2 B1

1 0 0 1 0 1 1

The above table position of the code "K" can be expressed as "column 4, line 11" or "4/11". In the table, the B7, B6, B5 bits of the same column character code are the same, and the same line character code is the same, the B4, B3, B2, B1 bits are the same.

ASCII or USASCII uses the above standard code definition.

ASCII (called "as'-key" or usascii (called "You Sas'-Key") symbol description is determined by the latest standard. In order to specify the Determination of the ASCII code, two numbers should be added, expressing the standard determined by the standard, ie "ASCII 63" or "USASCII 63".

4. Legend

4.1 Control

NUL empty symbol DLE data connection change (CC)

SOH head (CC) DC1 device control 1

STX text (CC) DC2 device control 2

ETX Text End (CC) DC3 Device Control 3

Eot Transfer End (CC) DC4 Device Control 4 (Stop)

ENQ inquiry (CC) NAK NAK Record (CC)

ACK Answer (CC) SYN Synchronous Idle (CC)

BEL ringtone (sound or alarm signal) ETB transport block end (CC)

BS ride (FE) CAN cancellation

HT Horizontal Table EM Interemptation End

(Card card) (FE)

LF wrap (Fe) SUB replacement

VT vertical table (Fe) ESC escape character (ESCAPE)

FF Table Input (FE) FS Separation (IS)

CR Enter (FE) GS Group Separation (IS) SO SHIFT OUT RS Recording Separation (IS)

Si Shift in US unit separation (IS)

Del delete [1]

_________

Note: (CC) Communication Control

(FE) layout layout

(IS) information separation

[1] Strictly speaking, DEL is not a control. (See 5.2)

4.2 Graphic Symbol

Column / row symbol name

2/0 SP space (usually non-printing characters)

2/1! Exclamation

2/2 "quotation marks (spiral symbols [2])

2/3 # digital tag [3, 4]

2/4 $ dollar mark

2/5% percent sign

2/6 & and and Name symbol

2/7 'omitted symbol (right single quotation mark, accent symbol [2])

2/8 (left 括 号)

2/9) Right brackets

2/10 * asterisk

2/11 plus sign

2/12, comma (void [2])

2/13 - lunched name (minus)

2/14. Point

2/15 / slash

3/10: colon

3/11; semicolon

3/12

3/13 = equal to

3/14> bigger than

3/15? Question mark

4/0 @ 商业 符 [3]

5/11 [left brackets [3]

5/12 / backslash [3]

5/13] Right Brand [3]

5/14 ^ 符 [2,3]

5/15 _ underline

6/0 `Light accent [2, 3] (left single quotation mark)

7/11 {left flower bracket [3]

7/12 | Tree line [3]

7/13} right brackets [3]

7/14 ~ Wavy line [3] (Spanish pronunciation symbol [2]; ordinary stress [2])

_________

Note:

2 The location is 2/2, 2/7, 2/12, 5/14, / 6/0, and 7/14, etc., is described in Appendix A, A5.2.

3 These characters cannot be used for international information exchange in the case where the sender and the recipient have not reached unanimous consent. (See Appendix B4)

4 In an application that is not using a symbol #, you can use 2/3 position to express the British currency sign.

5. Definition

5.1 Overview

(CC) Communication Control: For control or assisting information transmission of communication networks.

(FE) layout: used to control the layout design of information in printing or display. (IS) Information Separation: Separate and limit the information based on logic definitions. This group of characters has four for different levels.

5.2 Control

NUL (empty symbol): This bit is a character, which can be used to fill the time and the medium length of the empty time during information exchange.

SOH (Head): Communication Control Character, used to indicate the beginning of the header transfer, the header information refers to a character stream containing the machine identification address and routing information. The STX character has the effect of ending header information.

Stx (text start): Communication control character, used to indicate the beginning of the text, the text is a character stream, which is a message entity that is transmitted to the final destination, and STX sometimes is also used to end the SOH startup header information transmission.

ETX (the end of the text): Communication control characters, used to end text transfer started by STX.

EOT (End of Transfer): Communication Control Character, is used to represent the end of the information transfer, and one or more text and related headers may contain one or more texts.

ENQ (inquiry): Communication Control Character, in the Data Communication System, used to request a response from the remote workstation. ENQ can represent "WRU" information, used to identify remote workstations, or used to get the status information of remote workstation, or both simultaneously represent two meanings.

ACK (AX): Communication Control Character, the response man is sent, to indicate the affirmation of the inquiry party.

Bel (Ringtone): This character can be used to control alarm or other alert device in an occasion that needs to cause attention.

BS (back): Format character, control the print position to move backward in the print line. (Also acting on display device).

HT (horizontal form): Format character, the movement of the print position, the print position is moved in the direction of the horizontal line to the next preset position, and there are multiple pre-set positions on one line. (Also valid for the display device, the function of skipping the punch card).

LF (Renewal): The format character, the movement of the print position, the print position moves to the next line. (Can also be used to display devices). In some cases, LF can also represent "new row" (NL), "new row" means the first print position that controls the print position to move to the next line. Of course, use this agreement - new row, requires data senders and acceptors to agree.

VT (vertical table): format characters, the movement of the print position, the print position moves to the next preset row. (Also valid for the display device).

FF (change page): Format character, control the print position to move to the first line of the next page. (Also valid for the display device).

CR (Enter): Format character, control the print position to move to the first location of the Bank. (Also used to display devices).

SO (Shift Out): Control Character, indicating that the characters behind SO are set in accordance with code other than the standard code table, which is until the Si characters. Si (Shift IN): Control characters indicating that the characters behind Si are standard code.

DLE (Data Connection Change): Communication Control Character can change the meaning of a certain number of consecutive characters later. It is designed to provide assistive network communication control.

DC1, DC2, DC3, DC4 (Device Control): This character is used to control the auxiliary device of the data processing system or the communication system, in particular the switch of the handover device. (If a separate "stop" control requires an interrupt or turned off the auxiliary device, DC4 is the preferred device control character.

NAK (Net Addition): Communication Control Character, the acceptor sends NAK to the sender, indicates an answer.

SYN (Synchronous Idle): Communication Control Character, when the Synchronization Machine is completed without other characters, SY is used by Sync Transmission system.

ETB (end of the transfer block): Communication control character indicates the end of the communication data block. The format of the data block is not required to be related.

CAN (Cancel): Control characters, used to indicate data errors or do not consider.

EM (intermediary end): Control characters related to sending data, indicating a part of the physical end of the mediation (Medium), or a part of the information recorded, and the desired intermediary.

(This character's position does not have to correspond to the substance of the intermediary.

Sub (replace): Can be used to replace abnormal characters.

ESC (escape character (escape)): Control characters, provides code extensions (additional characters) for information exchange. ESC is the prefix of this quantity of continuous characters.

FS (file separation), GS (group separation), RS (recording separation) and US (unit separation): These information separations can be used in any format. The relationship is as follows: The FS is the largest, followed by GS, RS again, US minimum. (Files, groups, records, units of content and lengths are not indicated).

DEL: This character is used to remove characters on the punch tape. (Strictly speaking, DEL is not a control character).

5.3 graphic character

SP (Space): A common non-printing character used to distinguish the word. It is also a format character, used to control the movement of the print position, each SP, the print position moves forward.

6. Consensus

6.1 This standard does not define any physical storage method of any code, nor includes redundancy, error correction control. In addition, this standard does not define structural, communication formats, character extensions, or control characters for graphic display.

6.2 Data exchange using code other than standard code, you must be approved.

6.3 The code table organizes is arranged in binary order.

6.4 In addition to the identified graphic character, there is no other character definition for graphics control in the code table. Further, the standard does not define different print and display types, in some applications, different types of style can be convenient for users. For example, the character is often related to logic or (|), logic is not (NOT - 252). 6.5 Appendix of this standard contains additional information for designing and using these codes.

[This RFC WAS PUT INTO MACHINE READABLE FORM for Entry]

[INTO THE Online RFC Archives by Robbie Bennet 9/99]

RFC20 ASCII Format for Network Interchange RFC 20 ASCII format for network exchange

1

1

Chinese document translation plan

转载请注明原文地址:https://www.9cbs.com/read-27256.html

New Post(0)