American Standard Code for Information Interchange

De Wicri Métadonnées
(Redirigé depuis ASCII)

La norme ASCII qui constitue la fondation du système de codification date des années 60.

Caractères de contrôle

Un aspect essentiel de la norme ASCII est la caractérisation d'un ensemble de caractères de contrôle[1]


Binaire Oct Dec Hex Abbr PR[t 1] CS[t 2] CEC[t 3] Description
000 0000 000 0 00 NUL ^@ \0 Null character[t 4]
000 0001 001 1 01 SOH ^A Start of Header
000 0010 002 2 02 STX ^B Start of Text
000 0011 003 3 03 ETX ^C End of Text
000 0100 004 4 04 EOT ^D End of Transmission
000 0101 005 5 05 ENQ ^E Enquiry
000 0110 006 6 06 ACK ^F Acknowledgment
000 0111 007 7 07 BEL ^G \a Bell
000 1000 010 8 08 BS ^H \b Backspace[t 5][t 6]
000 1001 011 9 09 HT ^I \t Horizontal Tab
000 1010 012 10 0A LF ^J \n Line feed
000 1011 013 11 0B VT ^K \v Vertical Tab
000 1100 014 12 0C FF ^L \f Form feed
000 1101 015 13 0D CR ^M \r Carriage return[t 7]
000 1110 016 14 0E SO ^N Shift Out
000 1111 017 15 0F SI ^O Shift In
001 0000 020 16 10 DLE ^P Data Link Escape
001 0001 021 17 11 DC1 ^Q Device Control 1 (oft. XON)
001 0010 022 18 12 DC2 ^R Device Control 2
001 0011 023 19 13 DC3 ^S Device Control 3 (oft. XOFF)
001 0100 024 20 14 DC4 ^T Device Control 4
001 0101 025 21 15 NAK ^U Negative Acknowledgement
001 0110 026 22 16 SYN ^V Synchronous Idle
001 0111 027 23 17 ETB ^W End of Trans. Block
001 1000 030 24 18 CAN ^X Cancel
001 1001 031 25 19 EM ^Y End of Medium
001 1010 032 26 1A SUB ^Z Substitute
001 1011 033 27 1B ESC ^[ \e[t 8] Escape[t 9]
001 1100 034 28 1C FS ^\ File Separator
001 1101 035 29 1D GS ^] Group Separator
001 1110 036 30 1E RS ^^ Record Separator
001 1111 037 31 1F US ^_ Unit Separator
111 1111 177 127 7F DEL ^? Delete[t 10][t 6]
  1. Forme imprimable, les caractères Unicode de la zone U+2400 to U+2421 sont réservés pour representer les caractères de contrôle quand il est nécessaire de les imprimer aulieu de réalser leur fonction. Quelques navigateurs peuvent ne pas les traiter correctement.
  2. Control key Sequence/caret notation, the traditional key sequences for inputting control characters. The caret (^) that begins these sequences is not meant to signify the literal ^ character; rather, it represents the "Control" or "Ctrl" key that must be held down while pressing the second key in the sequence. Note that ^^ means Control-Caret (pressing the "Ctrl" and "^" keys), not Control-Control. The caret-key representation is also used by some software to represent control characters.
  3. Character Escape Codes in C programming language and many other languages influenced by it, such as Java and Perl (though not all implementations necessarily support all escape codes).
  4. Ce caractère est utilisé comme fin de chaîne sur Unix.
  5. The Backspace character can also be entered by pressing the "Backspace", "Bksp", or ← key on some systems.
  6. 6,0 et 6,1 The ambiguity of Backspace comes from mismatches between the intent of the human or software transmitting the Backspace and the interpretation by the software receiving it. If the transmitter expects Backspace to erase the previous character and the receiver expects Delete to be used to erase the previous character, many receivers will echo the Backspace as "^H", just as they would echo any other uninterpreted control character. (A similar mismatch in the other direction may yield Delete displayed as "^?".)
  7. The Carriage Return character can also be entered by pressing the "Return", "Ret", "Enter", or key on most systems.
  8. The '\e' escape sequence is not part of ISO C and many other language specifications. However, it is understood by several compilers.
  9. The Escape character can also be entered by pressing the "Escape" or "Esc" key on some systems.
  10. The Delete character can also be entered by pressing the "Delete" or "Del" key. It can also be entered by pressing the "Backspace", "Bksp", or ← key on some systems.

Notes

  1. La suite de ce paragraphe est une adaptation légère du tableau figurant dans la Wikipédia en langue anglaise