Common ASCII Codes: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(12 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


Line 7: Line 8:
* [[Character_Encoding#ASCII|Character Encoding]]
* [[Character_Encoding#ASCII|Character Encoding]]
* [[Common Unicode Codes]]
* [[Common Unicode Codes]]
* [[Binary Codes]]


=Overview=
=Overview=
Line 13: Line 15:


{|
{|
| '''Decimal''' || '''Octal''' || '''Hexadecimal''' || '''Symbol''' || '''HTML Code''' || '''Java Character Representation''' || '''[[Character_Encoding#U.2Bn_Notation|U+n Unicode Notation]]''' || '''bash [[Bash_Built-In_Variables#Quoted_String_Expansion_.24.27....27|quoted string expansion]]''' || '''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>&amp;#000;</pre> ||                                        || || || <span id='Null_Character'></span>Null character
|  0    ||  000        || 00                      || NUL              || <pre>&amp;#000;</pre> ||                                        || || || <span id='Null_Character'></span>Null character
Line 29: Line 31:


{|
{|
| '''Decimal''' || '''Octal''' || '''Hexadecimal''' || '''Symbol''' || '''HTML Code''' || '''Java Character Representation''' || '''[[Character_Encoding#U.2Bn_Notation|U+n Unicode Notation]]''' || '''bash [[Bash_Built-In_Variables#Quoted_String_Expansion_.24.27....27|quoted string expansion]]''' || '''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'''
|-
|-
|  32    ||  040      || 20                      ||                                                      || <pre>&amp;#32;</pre> ||    ' '                                ||  "\u0020" || || Space
|  32    ||  040      || 20                      ||                                                      || <pre>&amp;#32;</pre> ||    ' '                                ||  "\u0020" || || Space
|-
|-
|  38    ||  046      || 26                      || &                                                      || <pre>&amp;#38;</pre> ||                                    ||  "\u0026" || || Ampersand
|  38    ||  046      || 26                      || &                                                      || <pre>&amp;#38;</pre> ||                                    ||  "\u0026" || $'\ 046' || Ampersand
|-
|-
|  39    ||  047      || 27                      || '                                                        || <pre>&amp;#39;</pre> ||                                    ||  || || Single quote
|  39    ||  047      || 27                      || '                                                        || <pre>&amp;#39;</pre> ||                                    ||  || $'\ 047'  || Single quote
|-
|-
|  48    ||  071 || 30                      || 0                                                           || <pre>&amp;#65;</pre> || <center>'0'</center> || || <center>'0'</center>|| Zero
|  42    ||  052      || 2A                      || *                                                        || <pre>&amp;#42;</pre> ||  <center>'*'</center>  ||  || $'\ 052'  || Star
|-
|  48    ||  071       || 30                      || 0                                                       || <pre>&amp;#65;</pre> || <center>'0'</center> || || <center>'0'</center>|| Zero
|-
|-
|  57    ||  060  || 39                      || 9                                                            || <pre>&amp;#57;</pre> || <center>'9'</center> || || <center>'9'</center>|| Nine
|  57    ||  060  || 39                      || 9                                                            || <pre>&amp;#57;</pre> || <center>'9'</center> || || <center>'9'</center>|| Nine
Line 44: Line 48:
|-
|-
|  60    ||  074      || 3C                      || <                  || <pre>&amp;#60;</pre> <pre>&amp;lt;</pre> || <center>'<'</center> || || || Less then (or open angle bracket)
|  60    ||  074      || 3C                      || <                  || <pre>&amp;#60;</pre> <pre>&amp;lt;</pre> || <center>'<'</center> || || || Less then (or open angle bracket)
|-
|  61    ||  075      || 3D                      || =                  || <pre>&amp;#61;</pre> || <center>'='</center> || || || Equal
|-
|-
|  65    || 101        || 41                      || A                                                        || <pre>&amp;#65;</pre> || <center>'A'</center>  || "\u0041" || || Uppercase A
|  65    || 101        || 41                      || A                                                        || <pre>&amp;#65;</pre> || <center>'A'</center>  || "\u0041" || || Uppercase A
Line 52: Line 58:
|-
|-
|  93    ||        || 5D                      || ]                                                              || <pre>&amp;#93;</pre> || <center>']'</center> ||  || || Closing bracket
|  93    ||        || 5D                      || ]                                                              || <pre>&amp;#93;</pre> || <center>']'</center> ||  || || Closing bracket
|-
|  96    || 140    || 60                      || `                                                              || <pre>&amp;#96;</pre> || <center>'`'</center> ||  || || Back tick
|-
|-
|  123  ||          || 7B                      || {                                                            || <pre>&amp;#123;</pre> || <center>'{'</center> ||  || || Opening brace
|  123  ||          || 7B                      || {                                                            || <pre>&amp;#123;</pre> || <center>'{'</center> ||  || || Opening brace
|-                                     
|  124  ||          || 7C                      || &#124;                                                            || <pre>&amp;#124;</pre> || <center>'&#124;'</center> ||  || || Vertical bar
|-                                     
|  125  ||          || 7D                      || }                                                            || <pre>&amp;#125;</pre> || <center>'}'</center> ||  || || Closing brace
|-                                       
|-                                       
|  127  ||  177    || 7F                      ||                                                            || <pre>&amp;#127;</pre> ||                                    ||  || || <span id='Delete'></span>Delete (the last [[Character_Encoding#Code_Point|code point]] of the ASCII [[Character_Encoding#Code_Space|code space]])
|  127  ||  177    || 7F                      ||                                                            || <pre>&amp;#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
&#000;
Null character
8 08 BS
&#008;
'\b'
Backspace
9 09 HT
&#009;
'\t'
"\u0009"
$'\t'
Horizontal tab
10 012 0A LF
&#10;
'\n'
"\u000A"
$'\n', $'\012', $'\x0a'
Line feed (new line)
13 0D CR
&#13;
'\r'
"\u000D"
$'\r'
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
&#32;
' ' "\u0020" Space
38 046 26 &
&#38;
"\u0026" $'\ 046' Ampersand
39 047 27 '
&#39;
$'\ 047' Single quote
42 052 2A *
&#42;
'*'
$'\ 052' Star
48 071 30 0
&#65;
'0'
'0'
Zero
57 060 39 9
&#57;
'9'
'9'
Nine
58 3A :
&#58;
':'
Colon
60 074 3C <
&#60;
&lt;
'<'
Less then (or open angle bracket)
61 075 3D =
&#61;
'='
Equal
65 101 41 A
&#65;
'A'
"\u0041" Uppercase A
85 125 55 U
&#85;
'U'
Uppercase U
91 5B [
&#91;
'['
Opening bracket
93 5D ]
&#93;
']'
Closing bracket
96 140 60 `
&#96;
'`'
Back tick
123 7B {
&#123;
'{'
Opening brace
124 7C |
&#124;
'|'
Vertical bar
125 7D }
&#125;
'}'
Closing brace
127 177 7F
&#127;
Delete (the last code point of the ASCII code space)