ASCII Table: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
ASCII (American Standard Code for Information Interchange) is a character encoding using 7 bits per character. Its history comes from the development of connecting computers (terminals) to teleprinters which required some standardized way to send and receive data as well as a way to control data flow. | ASCII (American Standard Code for Information Interchange) is a character encoding using 7 bits per character. Its history comes from the development of connecting computers (terminals) to teleprinters which required some standardized way to send and receive data as well as a way to control data flow. As a result, ASCII contains a bunch of control characters in the lower set. | ||
Terminals convert keys from your keyboard into ASCII. The 5 lower bits of the character set mapped to a key on the keyboard. The 6th and 7th bit are set to 1 by default and are cleared the shift key and control key, respectively. | Terminals convert keys from your keyboard into ASCII. The 5 lower bits of the character set mapped to a key on the keyboard. The 6th and 7th bit are set to 1 by default and are cleared the shift key and control key, respectively. | ||
Your terminal will automatically convert specific key combinations into the appropriate character (eg. pressing Shift-1 or '!' sends the appropriate ASCII character). The terminal can also send the appropriate control character with the control modifier key. For example, pressing Ctrl-i, <code>^I</code>, sends a horizontal tabulation (HT) or tab control character. | |||
== ASCII Table == | == ASCII Table == | ||
{| | {| | ||
|'''Key modifiers:''' Control | |||
|'''Key modifiers:''' ? | |||
|'''Key modifiers:''' Shift | |||
|'''Key modifiers:''' None | |||
|- | |||
| | | | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 679: | Line 686: | ||
== See Also == | == See Also == | ||
* https://en.wikipedia.org/wiki/ASCII | * <nowiki>https://en.wikipedia.org/wiki/ASCII</nowiki> | ||
* <nowiki>https://www.aivosto.com/articles/control-characters.html</nowiki> | |||
{{Navbox Tinkering}}[[Category:Tinkering]] | {{Navbox Tinkering}}[[Category:Tinkering]] | ||
Latest revision as of 23:16, 18 January 2023
ASCII (American Standard Code for Information Interchange) is a character encoding using 7 bits per character. Its history comes from the development of connecting computers (terminals) to teleprinters which required some standardized way to send and receive data as well as a way to control data flow. As a result, ASCII contains a bunch of control characters in the lower set.
Terminals convert keys from your keyboard into ASCII. The 5 lower bits of the character set mapped to a key on the keyboard. The 6th and 7th bit are set to 1 by default and are cleared the shift key and control key, respectively.
Your terminal will automatically convert specific key combinations into the appropriate character (eg. pressing Shift-1 or '!' sends the appropriate ASCII character). The terminal can also send the appropriate control character with the control modifier key. For example, pressing Ctrl-i, ^I, sends a horizontal tabulation (HT) or tab control character.
ASCII Table
| Key modifiers: Control | Key modifiers: ? | Key modifiers: Shift | Key modifiers: None | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
See Also
- https://en.wikipedia.org/wiki/ASCII
- https://www.aivosto.com/articles/control-characters.html