Common ASCII Codes: Difference between revisions
Jump to navigation
Jump to search
(68 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | =External= | ||
* http://www.asciitable.com/ | |||
* http://www.ascii-code.com | * http://www.ascii-code.com | ||
=Internal= | |||
* [[Character_Encoding#ASCII|Character Encoding]] | |||
* [[Common Unicode Codes]] | |||
* [[Binary Codes]] | |||
=Overview= | =Overview= | ||
==Control Characters== | |||
{| | {| | ||
| '''Decimal''' || '''Hexadecimal''' || '''Symbol''' || '''HTML Code''' || '''Java Character Representation''' || '''Description''' | | '''Decimal''' || '''Octal''' || '''Hexadecimal''' || '''Symbol''' || '''HTML Code''' || '''Java Character Representation''' || '''[[Character_Encoding#U.2Bn_Notation|U+n Unicode Notation]]''' || '''bash [[Bash_Parameter_and_Variable_Expansion#Quoted_String_Expansion_.24.27....27|quoted string expansion]]''' || '''Description''' | ||
|- | |||
| 0 || 000 || 00 || NUL || <pre>&#000;</pre> || || || || <span id='Null_Character'></span>Null character | |||
|- | |||
| 8 || || 08 || BS || <pre>&#008;</pre> || <center>'\b'</center> || || || Backspace | |||
|- | |||
| 9 || || 09 || HT || <pre>&#009;</pre> || <center>'\t'</center> || "\u0009" || <center> $'\t'</center>|| Horizontal tab | |||
|- | |||
| 10 || 012 || 0A || LF || <pre>&#10;</pre> || <center>'\n'</center> || "\u000A" || <center> $'\n', $'\012', $'\x0a'</center>|| Line feed (new line) | |||
|- | |||
| 13 || || 0D || CR || <pre>&#13;</pre> || <center>'\r'</center> || "\u000D" || <center> $'\r'</center>|| Carriage return | |||
|} | |||
==Printable Characters== | |||
{| | |||
| '''Decimal''' || '''Octal''' || '''Hexadecimal''' || '''Symbol''' || '''HTML Code''' || '''Java Character Representation''' || '''[[Character_Encoding#U.2Bn_Notation|U+n Unicode Notation]]''' || '''bash [[Bash_Parameter_and_Variable_Expansion#Quoted_String_Expansion_.24.27....27|quoted string expansion]]''' || '''Description''' | |||
|- | |||
| 32 || 040 || 20 || || <pre>&#32;</pre> || ' ' || "\u0020" || || Space | |||
|- | |||
| 38 || 046 || 26 || & || <pre>&#38;</pre> || || "\u0026" || $'\ 046' || Ampersand | |||
|- | |||
| 39 || 047 || 27 || ' || <pre>&#39;</pre> || || || $'\ 047' || Single quote | |||
|- | |||
| 42 || 052 || 2A || * || <pre>&#42;</pre> || <center>'*'</center> || || $'\ 052' || Star | |||
|- | |||
| 48 || 071 || 30 || 0 || <pre>&#65;</pre> || <center>'0'</center> || || <center>'0'</center>|| Zero | |||
|- | |||
| 57 || 060 || 39 || 9 || <pre>&#57;</pre> || <center>'9'</center> || || <center>'9'</center>|| Nine | |||
|- | |||
| 58 || || 3A || : || <pre>&#58;</pre> || <center>':'</center> || || || Colon | |||
|- | |||
| 60 || 074 || 3C || < || <pre>&#60;</pre> <pre>&lt;</pre> || <center>'<'</center> || || || Less then (or open angle bracket) | |||
|- | |||
| 61 || 075 || 3D || = || <pre>&#61;</pre> || <center>'='</center> || || || Equal | |||
|- | |||
| 65 || 101 || 41 || A || <pre>&#65;</pre> || <center>'A'</center> || "\u0041" || || Uppercase A | |||
|- | |- | ||
| | | 85 || 125 || 55 || U || <pre>&#85;</pre> || <center>'U'</center> || || || Uppercase U | ||
|- | |- | ||
| | | 91 || || 5B || [ || <pre>&#91;</pre> || <center>'['</center> || || || Opening bracket | ||
|- | |- | ||
| | | 93 || || 5D || ] || <pre>&#93;</pre> || <center>']'</center> || || || Closing bracket | ||
|- | |- | ||
| | | 96 || 140 || 60 || ` || <pre>&#96;</pre> || <center>'`'</center> || || || Back tick | ||
|- | |- | ||
| 123 | | 123 || || 7B || { || <pre>&#123;</pre> || <center>'{'</center> || || || Opening brace | ||
|- | |||
| 124 || || 7C || | || <pre>&#124;</pre> || <center>'|'</center> || || || Vertical bar | |||
|- | |||
| 125 || || 7D || } || <pre>&#125;</pre> || <center>'}'</center> || || || Closing brace | |||
|- | |||
| 127 || 177 || 7F || || <pre>&#127;</pre> || || || || <span id='Delete'></span>Delete (the last [[Character_Encoding#Code_Point|code point]] of the ASCII [[Character_Encoding#Code_Space|code space]]) | |||
|} | |} |
Latest revision as of 20:02, 9 November 2021
External
Internal
Overview
Control Characters
Decimal | Octal | Hexadecimal | Symbol | HTML Code | Java Character Representation | U+n Unicode Notation | bash quoted string expansion | Description |
0 | 000 | 00 | NUL | � |
Null character | |||
8 | 08 | BS |  |
Backspace | ||||
9 | 09 | HT | 	 |
"\u0009" | Horizontal tab | |||
10 | 012 | 0A | LF | |
"\u000A" | Line feed (new line) | ||
13 | 0D | CR | |
"\u000D" | Carriage return |
Printable Characters
Decimal | Octal | Hexadecimal | Symbol | HTML Code | Java Character Representation | U+n Unicode Notation | bash quoted string expansion | Description |
32 | 040 | 20 |   |
' ' | "\u0020" | Space | ||
38 | 046 | 26 | & | & |
"\u0026" | $'\ 046' | Ampersand | |
39 | 047 | 27 | ' | ' |
$'\ 047' | Single quote | ||
42 | 052 | 2A | * | * |
$'\ 052' | Star | ||
48 | 071 | 30 | 0 | A |
Zero | |||
57 | 060 | 39 | 9 | 9 |
Nine | |||
58 | 3A | : | : |
Colon | ||||
60 | 074 | 3C | < | < < |
Less then (or open angle bracket) | |||
61 | 075 | 3D | = | = |
Equal | |||
65 | 101 | 41 | A | A |
"\u0041" | Uppercase A | ||
85 | 125 | 55 | U | U |
Uppercase U | |||
91 | 5B | [ | [ |
Opening bracket | ||||
93 | 5D | ] | ] |
Closing bracket | ||||
96 | 140 | 60 | ` | ` |
Back tick | |||
123 | 7B | { | { |
Opening brace | ||||
124 | 7C | | | | |
Vertical bar | ||||
125 | 7D | } | } |
Closing brace | ||||
127 | 177 | 7F |  |
Delete (the last code point of the ASCII code space) |