Common ASCII Codes: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 21: Line 21:
|  9    ||        || 09                      || HT              || <pre>&amp;#009;</pre>          ||  <center>'\t'</center> || "\u0009" || <center> $'\t'</center>|| Horizontal tab
|  9    ||        || 09                      || HT              || <pre>&amp;#009;</pre>          ||  <center>'\t'</center> || "\u0009" || <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> || "\u000A" || <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> || "\u000D" || <center> $'\r'</center>|| Carriage return
|}
|}



Revision as of 20:36, 16 July 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'
"\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" 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'
"\u0041" 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)