Common ASCII Codes: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
| '''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_Built-In_Variables#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
|-
|-
|  8    ||          || 08                      || BS              || <pre>&amp;#008;</pre>          ||   || <center>'\b'</center> || || || Backspace
|  8    ||          || 08                      || BS              || <pre>&amp;#008;</pre>          || <center>'\b'</center> || || || Backspace
|-
|-
|  9    ||        || 09                      || HT              || <pre>&amp;#009;</pre>          ||   || <center>'\t'</center> || || <center> $'\t'</center>|| Horizontal tab
|  9    ||        || 09                      || HT              || <pre>&amp;#009;</pre>          || <center>'\t'</center> || || <center> $'\t'</center>|| Horizontal tab
|-
|-
|  10    ||    012      || 0A                      || LF              || <pre>&amp;#10;</pre>      ||   || <center>'\n'</center> || || <center> $'\n', $'\012', $'\x0a'</center>|| Line feed (new line)
|  10    ||    012      || 0A                      || LF              || <pre>&amp;#10;</pre>      || <center>'\n'</center> || || <center> $'\n', $'\012', $'\x0a'</center>|| Line feed (new line)
|-
|-
|  13    ||        || 0D                      || CR              || <pre>&amp;#13;</pre>            ||   || <center>'\r'</center> || || <center> $'\r'</center>|| Carriage return
|  13    ||        || 0D                      || CR              || <pre>&amp;#13;</pre>            || <center>'\r'</center> || || <center> $'\r'</center>|| Carriage return
|}
|}



Revision as of 18:10, 26 June 2018

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'
$'\t'
Horizontal tab
10 012 0A LF
&#10;
'\n'
$'\n', $'\012', $'\x0a'
Line feed (new line)
13 0D CR
&#13;
'\r'
$'\r'
Carriage return

Printable Characters

Decimal Octal Hexadecimal Symbol HTML Code Java Character Representation bash quoted string expansion Description
38 046 26 &
&#38;
Ampersand
39 047 27 '
&#39;
Single quote
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)
65 101 41 A
&#65;
'A'
Uppercase A
85 125 55 U
&#85;
'U'
Uppercase U
91 5B [
&#91;
'['
Opening bracket
93 5D ]
&#93;
']'
Closing bracket
123 7B {
&#123;
'{'
Opening brace
127 177 7F
&#127;
Delete (the last code point of the ASCII code space)