Difference between revisions of "ASCII"
From MgmtWiki
(→Solutions) |
(→References) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==Context== | ==Context== | ||
*At the time this coding scheme was introduced the common teletypewriter code was Baudot, which was only 6 bits and required a shift key like that on the typewriter. | *At the time this coding scheme was introduced the common teletypewriter code was Baudot, which was only 6 bits and required a shift key like that on the typewriter. | ||
− | *This was the default coding scheme at the start of the World Wide Web. It is still used in some coding situations where no ambiguity can be tolerated. | + | *This was the default coding scheme at the start of the [[World Wide Web]]. It is still used in some coding situations where no ambiguity can be tolerated. |
==Problem== | ==Problem== | ||
Line 12: | Line 12: | ||
Most of the solutions create more problems than they solve. | Most of the solutions create more problems than they solve. | ||
− | + | ||
{| class="wikitable" style="text-align: center" | {| class="wikitable" style="text-align: center" | ||
|- | |- | ||
Line 122: | Line 122: | ||
|colspan=3|DEL|| style="font-size:large;" | ␡ || <code>[[^?]]</code> || || style="text-align:left;" | [[Delete character|Delete]]{{Efn|The [[Delete character]] can sometimes be entered by pressing the {{key press|Backspace}} key on some systems.}}{{Efn|name="bsp del mismatch"|The ambiguity of [[Backspace]] is due to early terminals designed assuming the main use of the keyboard would be to manually punch paper tape while not connected to a computer. To delete the previous character, one had to back up the paper tape punch, which for mechanical and simplicity reasons was a button on the punch itself and not the keyboard, then type the rubout character. They therefore placed a key producing rubout at the location used on typewriters for backspace. When systems used these terminals and provided command-line editing, they had to use the "rubout" code to perform a backspace, and often did not interpret the backspace character (they might echo "<code>^H</code>" for backspace). Other terminals not designed for paper tape made the key at this location produce Backspace, and systems designed for these used that character to back up. Since the delete code often produced a backspace effect, this also forced terminal manufacturers to make any {{key press|Delete}} key produce something other than the Delete character.}} | |colspan=3|DEL|| style="font-size:large;" | ␡ || <code>[[^?]]</code> || || style="text-align:left;" | [[Delete character|Delete]]{{Efn|The [[Delete character]] can sometimes be entered by pressing the {{key press|Backspace}} key on some systems.}}{{Efn|name="bsp del mismatch"|The ambiguity of [[Backspace]] is due to early terminals designed assuming the main use of the keyboard would be to manually punch paper tape while not connected to a computer. To delete the previous character, one had to back up the paper tape punch, which for mechanical and simplicity reasons was a button on the punch itself and not the keyboard, then type the rubout character. They therefore placed a key producing rubout at the location used on typewriters for backspace. When systems used these terminals and provided command-line editing, they had to use the "rubout" code to perform a backspace, and often did not interpret the backspace character (they might echo "<code>^H</code>" for backspace). Other terminals not designed for paper tape made the key at this location produce Backspace, and systems designed for these used that character to back up. Since the delete code often produced a backspace effect, this also forced terminal manufacturers to make any {{key press|Delete}} key produce something other than the Delete character.}} | ||
|} | |} | ||
+ | |||
+ | [[File:Ascii.jpg]] | ||
==References== | ==References== |
Latest revision as of 15:09, 11 August 2019
Full Title or Meme
The American Standard Code for Information Interchange ASCII was created by Bell's Western Electric for teletypewriters.
Context
- At the time this coding scheme was introduced the common teletypewriter code was Baudot, which was only 6 bits and required a shift key like that on the typewriter.
- This was the default coding scheme at the start of the World Wide Web. It is still used in some coding situations where no ambiguity can be tolerated.
Problem
The standard does not comprehend many Western languages, let alone any Eastern languages.
Solutions
Most of the solutions create more problems than they solve.
Binary | Oct | Dec | Hex | Abbreviation | Template:Efn | Template:Efn | Template:Efn | Name ('67) | ||
---|---|---|---|---|---|---|---|---|---|---|
'63 | '65 | '67 | ||||||||
000 0000 | 000 | 0 | 00 | NULL | NUL | ␀ | ^@ |
\0 |
Null | |
000 0001 | 001 | 1 | 01 | SOM | SOH | ␁ | ^A |
Start of Heading | ||
000 0010 | 002 | 2 | 02 | EOA | STX | ␂ | ^B |
Start of Text | ||
000 0011 | 003 | 3 | 03 | EOM | ETX | ␃ | ^C |
End of Text | ||
000 0100 | 004 | 4 | 04 | EOT | ␄ | ^D |
End of Transmission | |||
000 0101 | 005 | 5 | 05 | WRU | ENQ | ␅ | ^E |
Enquiry | ||
000 0110 | 006 | 6 | 06 | RU | ACK | ␆ | ^F |
Acknowledgement | ||
000 0111 | 007 | 7 | 07 | BELL | BEL | ␇ | ^G |
\a |
Bell | |
000 1000 | 010 | 8 | 08 | FE0 | BS | ␈ | ^H |
\b |
BackspaceTemplate:EfnTemplate:Efn | |
000 1001 | 011 | 9 | 09 | HT/SK | HT | ␉ | ^I |
\t |
Horizontal TabTemplate:Efn | |
000 1010 | 012 | 10 | 0A | LF | ␊ | ^J |
\n |
Line Feed | ||
000 1011 | 013 | 11 | 0B | VTAB | VT | ␋ | ^K |
\v |
Vertical Tab | |
000 1100 | 014 | 12 | 0C | FF | ␌ | ^L |
\f |
Form Feed | ||
000 1101 | 015 | 13 | 0D | CR | ␍ | ^M |
\r |
Carriage ReturnTemplate:Efn | ||
000 1110 | 016 | 14 | 0E | SO | ␎ | ^N |
Shift Out | |||
000 1111 | 017 | 15 | 0F | SI | ␏ | ^O |
Shift In | |||
001 0000 | 020 | 16 | 10 | DC0 | DLE | ␐ | ^P |
Data Link Escape | ||
001 0001 | 021 | 17 | 11 | DC1 | ␑ | ^Q |
Device Control 1 (often XON) | |||
001 0010 | 022 | 18 | 12 | DC2 | ␒ | ^R |
Device Control 2 | |||
001 0011 | 023 | 19 | 13 | DC3 | ␓ | ^S |
Device Control 3 (often XOFF) | |||
001 0100 | 024 | 20 | 14 | DC4 | ␔ | ^T |
Device Control 4 | |||
001 0101 | 025 | 21 | 15 | ERR | NAK | ␕ | ^U |
Negative Acknowledgement | ||
001 0110 | 026 | 22 | 16 | SYNC | SYN | ␖ | ^V |
Synchronous Idle | ||
001 0111 | 027 | 23 | 17 | LEM | ETB | ␗ | ^W |
End of Transmission Block | ||
001 1000 | 030 | 24 | 18 | S0 | CAN | ␘ | ^X |
Cancel | ||
001 1001 | 031 | 25 | 19 | S1 | EM | ␙ | ^Y |
End of Medium | ||
001 1010 | 032 | 26 | 1A | S2 | SS | SUB | ␚ | ^Z |
Substitute | |
001 1011 | 033 | 27 | 1B | S3 | ESC | ␛ | ^[ |
\e Template:Efn |
EscapeTemplate:Efn | |
001 1100 | 034 | 28 | 1C | S4 | FS | ␜ | ^\ |
File Separator | ||
001 1101 | 035 | 29 | 1D | S5 | GS | ␝ | ^] |
Group Separator | ||
001 1110 | 036 | 30 | 1E | S6 | RS | ␞ | ^^ Template:Efn |
Record Separator | ||
001 1111 | 037 | 31 | 1F | S7 | US | ␟ | ^_ |
Unit Separator | ||
111 1111 | 177 | 127 | 7F | DEL | ␡ | ^? |
DeleteTemplate:EfnTemplate:Efn |