Common ASCII Codes: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
|  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;#010;</pre> || <center>'\n'</center> ||<center> $'\n'</center>|| Line feed (new line)
|  10    ||    012      || 0A                      || LF              || <pre>&amp;#010;</pre> || <center>'\n'</center> ||<center> $'\n', $'\012', $'\x0a'</center>|| Line feed (new line)
|-
|-
|  13    ||        || 0D                      || CR              || <pre>&amp;#013;</pre> || <center>'\r'</center> ||<center> $'\r'</center>|| Carriage return
|  13    ||        || 0D                      || CR              || <pre>&amp;#013;</pre> || <center>'\r'</center> ||<center> $'\r'</center>|| Carriage return

Revision as of 23:56, 23 September 2017

External

Overview

Decimal Octal Hexadecimal Symbol HTML Code Java Character Representation bash quoted string expansion Description
8 08 BS
&#008;
'\b'
Backspace
9 09 HT
&#009;
'\t'
$'\t'
Horizontal tab
10 012 0A LF
&#010;
'\n'
$'\n', $'\012', $'\x0a'
Line feed (new line)
13 0D CR
&#013;
'\r'
$'\r'
Carriage return
58 3A :
&#58;
':'
Colon
91 5B [
&#91;
'['
Opening bracket
123 7B {
&#123;
'{'
Opening brace