Template:Char-ref
(genesis, port unchanged from Wikipedia) |
(Oops-the printable!) |
||
Line 1: | Line 1: | ||
+ | ==ASCII printable characters== | ||
+ | Codes 20<sub>[[hexadecimal|hex]]</sub> to 7E<sub>[[hexadecimal|hex]]</sub>, known as the printable characters, represent letters, digits, [[punctuation marks]], and a few miscellaneous symbols. There are 95 printable characters in total. | ||
− | {| class="wikitable" style="text-align: center" | + | Code 20<sub>[[hexadecimal|hex]]</sub>, the [[Space (punctuation)|space character]], denotes the space between words, as produced by the space-bar of a keyboard. Since the space character is considered an invisible graphic (rather than a control character)<ref name="FOOTNOTEMackenzie1980223">[[#CITEREFMackenzie1980|Mackenzie 1980]], p. 223.</ref><ref name="RFC20_1968" /> and thus would not normally be visible, it is represented here by [[Unicode]] character U+2420 "␠"; Unicode characters U+2422 "␢" and U+2423 "␣" are also available for use when a visible representation of a space is necessary. |
+ | |||
+ | Code 7F<sub>[[hexadecimal|hex]]</sub> corresponds to the non-printable "Delete" (DEL) control character and is therefore omitted from this chart; it is covered in the previous section's chart. | ||
+ | |||
+ | Earlier versions of ASCII used the up-arrow instead of the [[caret]] (5E<sub>[[hexadecimal|hex]]</sub>) and the left-arrow instead of the [[underscore]] (5F<sub>[[hexadecimal|hex]]</sub>).<ref>[http://www.wps.com/projects/codes/X3.4-1963/index.html ASA X3.4-1963].</ref> | ||
+ | {| style="background:none; text-align:center;" | ||
+ | |- style="vertical-align:top;" | ||
+ | | | ||
+ | {| class="wikitable" style="text-align: center;" | ||
+ | |- | ||
+ | !Binary !! Oct !! Dec !! Hex !! Glyph | ||
+ | |- | ||
+ | |010 0000 ||style="background:lightblue;"| 040 || style="background:#cff;"| 32 ||style="background:lightblue;"| 20 || [[space (punctuation)|␠]] | ||
+ | |- | ||
+ | |010 0001 ||style="background:lightblue;"| 041 || style="background:#cff;"| 33 ||style="background:lightblue;"| 21 || [[Exclamation mark|!]] | ||
+ | |- | ||
+ | |010 0010 ||style="background:lightblue;"| 042 || style="background:#cff;"| 34 ||style="background:lightblue;"| 22 || [[Quotation mark|"]] | ||
+ | |- | ||
+ | |010 0011 ||style="background:lightblue;"| 043 || style="background:#cff;"| 35 ||style="background:lightblue;"| 23 || [[Number sign|#]] | ||
+ | |- | ||
+ | |010 0100 ||style="background:lightblue;"| 044 || style="background:#cff;"| 36 ||style="background:lightblue;"| 24 || [[Dollar sign|$]] | ||
+ | |- | ||
+ | |010 0101 ||style="background:lightblue;"| 045 || style="background:#cff;"| 37 ||style="background:lightblue;"| 25 || [[Percent sign|%]] | ||
+ | |- | ||
+ | |010 0110 ||style="background:lightblue;"| 046 || style="background:#cff;"| 38 ||style="background:lightblue;"| 26 || [[Ampersand|&]] | ||
+ | |- | ||
+ | |010 0111 ||style="background:lightblue;"| 047 || style="background:#cff;"| 39 ||style="background:lightblue;"| 27 || [[apostrophe|']] | ||
+ | |- | ||
+ | |010 1000 ||style="background:lightblue;"| 050 || style="background:#cff;"| 40 ||style="background:lightblue;"| 28 || [[Parentheses|(]] | ||
+ | |- | ||
+ | |010 1001 ||style="background:lightblue;"| 051 || style="background:#cff;"| 41 ||style="background:lightblue;"| 29 || [[Parentheses|)]] | ||
+ | |- | ||
+ | |010 1010 ||style="background:lightblue;"| 052 || style="background:#cff;"| 42 ||style="background:lightblue;"| 2A || [[Asterisk|*]] | ||
+ | |- | ||
+ | |010 1011 ||style="background:lightblue;"| 053 || style="background:#cff;"| 43 ||style="background:lightblue;"| 2B || [[Plus sign|+]] | ||
+ | |- | ||
+ | |010 1100 ||style="background:lightblue;"| 054 || style="background:#cff;"| 44 ||style="background:lightblue;"| 2C || [[Comma|,]] | ||
+ | |- | ||
+ | |010 1101 ||style="background:lightblue;"| 055 || style="background:#cff;"| 45 ||style="background:lightblue;"| 2D || [[Hyphen-minus|-]] | ||
+ | |- | ||
+ | |010 1110 ||style="background:lightblue;"| 056 || style="background:#cff;"| 46 ||style="background:lightblue;"| 2E || [[Full stop|.]] | ||
+ | |- | ||
+ | |010 1111 ||style="background:lightblue;"| 057 || style="background:#cff;"| 47 ||style="background:lightblue;"| 2F || [[Slash (punctuation)|/]] | ||
+ | |- | ||
+ | |011 0000 ||style="background:lightblue;"| 060 || style="background:#cff;"| 48 ||style="background:lightblue;"| 30 || [[0 (number)|0]] | ||
+ | |- | ||
+ | |011 0001 ||style="background:lightblue;"| 061 || style="background:#cff;"| 49 ||style="background:lightblue;"| 31 || [[1 (number)|1]] | ||
+ | |- | ||
+ | |011 0010 ||style="background:lightblue;"| 062 || style="background:#cff;"| 50 ||style="background:lightblue;"| 32 || [[2 (number)|2]] | ||
+ | |- | ||
+ | |011 0011 ||style="background:lightblue;"| 063 || style="background:#cff;"| 51 ||style="background:lightblue;"| 33 || [[3 (number)|3]] | ||
+ | |- | ||
+ | |011 0100 ||style="background:lightblue;"| 064 || style="background:#cff;"| 52 ||style="background:lightblue;"| 34 || [[4 (number)|4]] | ||
+ | |- | ||
+ | |011 0101 ||style="background:lightblue;"| 065 || style="background:#cff;"| 53 ||style="background:lightblue;"| 35 || [[5 (number)|5]] | ||
+ | |- | ||
+ | |011 0110 ||style="background:lightblue;"| 066 || style="background:#cff;"| 54 ||style="background:lightblue;"| 36 || [[6 (number)|6]] | ||
+ | |- | ||
+ | |011 0111 ||style="background:lightblue;"| 067 || style="background:#cff;"| 55 ||style="background:lightblue;"| 37 || [[7 (number)|7]] | ||
+ | |- | ||
+ | |011 1000 ||style="background:lightblue;"| 070 || style="background:#cff;"| 56 ||style="background:lightblue;"| 38 || [[8 (number)|8]] | ||
+ | |- | ||
+ | |011 1001 ||style="background:lightblue;"| 071 || style="background:#cff;"| 57 ||style="background:lightblue;"| 39 || [[9 (number)|9]] | ||
+ | |- | ||
+ | |011 1010 ||style="background:lightblue;"| 072 || style="background:#cff;"| 58 ||style="background:lightblue;"| 3A || [[Colon (punctuation)|:]] | ||
+ | |- | ||
+ | |011 1011 ||style="background:lightblue;"| 073 || style="background:#cff;"| 59 ||style="background:lightblue;"| 3B || [[Semicolon|;]] | ||
+ | |- | ||
+ | |011 1100 ||style="background:lightblue;"| 074 || style="background:#cff;"| 60 ||style="background:lightblue;"| 3C || [[Less-than sign|<]] | ||
+ | |- | ||
+ | |011 1101 ||style="background:lightblue;"| 075 || style="background:#cff;"| 61 ||style="background:lightblue;"| 3D || [[Equals sign|=]] | ||
+ | |- | ||
+ | |011 1110 ||style="background:lightblue;"| 076 || style="background:#cff;"| 62 ||style="background:lightblue;"| 3E || [[Greater-than sign|>]] | ||
+ | |- | ||
+ | |011 1111 ||style="background:lightblue;"| 077 || style="background:#cff;"| 63 ||style="background:lightblue;"| 3F || [[Question mark|?]] | ||
+ | |} | ||
+ | | | ||
+ | {| class="wikitable" style="text-align:center;" | ||
+ | |- style="vertical-align:bottom;" | ||
+ | !Binary !! Oct !! Dec !! Hex !! Glyph | ||
+ | |- | ||
+ | |100 0000 ||style="background:lightblue;"| 100 || style="background:#cff;"| 64 ||style="background:lightblue;"| 40 || [[@]] | ||
+ | |- | ||
+ | |100 0001 ||style="background:lightblue;"| 101 || style="background:#cff;"| 65 ||style="background:lightblue;"| 41 || [[A]] | ||
+ | |- | ||
+ | |100 0010 ||style="background:lightblue;"| 102 || style="background:#cff;"| 66 ||style="background:lightblue;"| 42 || [[B]] | ||
+ | |- | ||
+ | |100 0011 ||style="background:lightblue;"| 103 || style="background:#cff;"| 67 ||style="background:lightblue;"| 43 || [[C]] | ||
+ | |- | ||
+ | |100 0100 ||style="background:lightblue;"| 104 || style="background:#cff;"| 68 ||style="background:lightblue;"| 44 || [[D]] | ||
+ | |- | ||
+ | |100 0101 ||style="background:lightblue;"| 105 || style="background:#cff;"| 69 ||style="background:lightblue;"| 45 || [[E]] | ||
+ | |- | ||
+ | |100 0110 ||style="background:lightblue;"| 106 || style="background:#cff;"| 70 ||style="background:lightblue;"| 46 || [[F]] | ||
+ | |- | ||
+ | |100 0111 ||style="background:lightblue;"| 107 || style="background:#cff;"| 71 ||style="background:lightblue;"| 47 || [[G]] | ||
+ | |- | ||
+ | |100 1000 ||style="background:lightblue;"| 110 || style="background:#cff;"| 72 ||style="background:lightblue;"| 48 || [[H]] | ||
+ | |- | ||
+ | |100 1001 ||style="background:lightblue;"| 111 || style="background:#cff;"| 73 ||style="background:lightblue;"| 49 || [[I]] | ||
+ | |- | ||
+ | |100 1010 ||style="background:lightblue;"| 112 || style="background:#cff;"| 74 ||style="background:lightblue;"| 4A || [[J]] | ||
+ | |- | ||
+ | |100 1011 ||style="background:lightblue;"| 113 || style="background:#cff;"| 75 ||style="background:lightblue;"| 4B || [[K]] | ||
+ | |- | ||
+ | |100 1100 ||style="background:lightblue;"| 114 || style="background:#cff;"| 76 ||style="background:lightblue;"| 4C || [[L]] | ||
+ | |- | ||
+ | |100 1101 ||style="background:lightblue;"| 115 || style="background:#cff;"| 77 ||style="background:lightblue;"| 4D || [[M]] | ||
+ | |- | ||
+ | |100 1110 ||style="background:lightblue;"| 116 || style="background:#cff;"| 78 ||style="background:lightblue;"| 4E || [[N]] | ||
+ | |- | ||
+ | |100 1111 ||style="background:lightblue;"| 117 || style="background:#cff;"| 79 ||style="background:lightblue;"| 4F || [[O]] | ||
+ | |- | ||
+ | |101 0000 ||style="background:lightblue;"| 120 || style="background:#cff;"| 80 ||style="background:lightblue;"| 50 || [[P]] | ||
+ | |- | ||
+ | |101 0001 ||style="background:lightblue;"| 121 || style="background:#cff;"| 81 ||style="background:lightblue;"| 51 || [[Q]] | ||
+ | |- | ||
+ | |101 0010 ||style="background:lightblue;"| 122 || style="background:#cff;"| 82 ||style="background:lightblue;"| 52 || [[R]] | ||
+ | |- | ||
+ | |101 0011 ||style="background:lightblue;"| 123 || style="background:#cff;"| 83 ||style="background:lightblue;"| 53 || [[S]] | ||
+ | |- | ||
+ | |101 0100 ||style="background:lightblue;"| 124 || style="background:#cff;"| 84 ||style="background:lightblue;"| 54 || [[T]] | ||
+ | |- | ||
+ | |101 0101 ||style="background:lightblue;"| 125 || style="background:#cff;"| 85 ||style="background:lightblue;"| 55 || [[U]] | ||
+ | |- | ||
+ | |101 0110 ||style="background:lightblue;"| 126 || style="background:#cff;"| 86 ||style="background:lightblue;"| 56 || [[V]] | ||
+ | |- | ||
+ | |101 0111 ||style="background:lightblue;"| 127 || style="background:#cff;"| 87 ||style="background:lightblue;"| 57 || [[W]] | ||
+ | |- | ||
+ | |101 1000 ||style="background:lightblue;"| 130 || style="background:#cff;"| 88 ||style="background:lightblue;"| 58 || [[X]] | ||
+ | |- | ||
+ | |101 1001 ||style="background:lightblue;"| 131 || style="background:#cff;"| 89 ||style="background:lightblue;"| 59 || [[Y]] | ||
+ | |- | ||
+ | |101 1010 ||style="background:lightblue;"| 132 || style="background:#cff;"| 90 ||style="background:lightblue;"| 5A || [[Z]] | ||
+ | |- | ||
+ | |101 1011 ||style="background:lightblue;"| 133 || style="background:#cff;"| 91 ||style="background:lightblue;"| 5B || [[Square brackets|<nowiki>[</nowiki>]] | ||
|- | |- | ||
− | + | |101 1100 ||style="background:lightblue;"| 134 || style="background:#cff;"| 92 ||style="background:lightblue;"| 5C || [[Backslash|\]] | |
|- | |- | ||
− | | | + | |101 1101 ||style="background:lightblue;"| 135 || style="background:#cff;"| 93 ||style="background:lightblue;"| 5D || [[Square brackets|<nowiki>]</nowiki>]] |
− | | | + | |
|- | |- | ||
− | | | + | |101 1110 ||style="background:lightblue;"| 136 || style="background:#cff;"| 94 ||style="background:lightblue;"| 5E || [[Caret|^]] |
− | | | + | |
|- | |- | ||
− | | | + | |101 1111 ||style="background:lightblue;"| 137 || style="background:#cff;"| 95 ||style="background:lightblue;"| 5F || [[Underscore|_]] |
− | | | + | |} |
+ | | | ||
+ | {| class="wikitable" style="text-align:center;" | ||
+ | |- style="vertical-align:bottom;" | ||
+ | !Binary !! Oct !! Dec !! Hex !! Glyph | ||
|- | |- | ||
− | | | + | |110 0000 ||style="background:lightblue;"| 140 || style="background:#cff;"| 96 ||style="background:lightblue;"| 60 || [[Grave accent|`]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 0001 ||style="background:lightblue;"| 141 || style="background:#cff;"| 97 ||style="background:lightblue;"| 61 || [[a]] |
− | + | ||
− | | | + | |
|- | |- | ||
− | | | + | |110 0010 ||style="background:lightblue;"| 142 || style="background:#cff;"| 98 ||style="background:lightblue;"| 62 || [[b]] |
− | + | ||
− | | | + | |
|- | |- | ||
− | | | + | |110 0011 ||style="background:lightblue;"| 143 || style="background:#cff;"| 99 ||style="background:lightblue;"| 63 || [[c]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 0100 ||style="background:lightblue;"| 144 || style="background:#cff;"| 100 ||style="background:lightblue;"| 64 || [[d]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 0101 ||style="background:lightblue;"| 145 || style="background:#cff;"| 101 ||style="background:lightblue;"| 65 || [[e]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 0110 ||style="background:lightblue;"| 146 || style="background:#cff;"| 102 ||style="background:lightblue;"| 66 || [[f]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 0111 ||style="background:lightblue;"| 147 || style="background:#cff;"| 103 ||style="background:lightblue;"| 67 || [[g]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1000 ||style="background:lightblue;"| 150 || style="background:#cff;"| 104 ||style="background:lightblue;"| 68 || [[h]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1001 ||style="background:lightblue;"| 151 || style="background:#cff;"| 105 ||style="background:lightblue;"| 69 || [[i]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1010 ||style="background:lightblue;"| 152 || style="background:#cff;"| 106 ||style="background:lightblue;"| 6A || [[j]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1011 ||style="background:lightblue;"| 153 || style="background:#cff;"| 107 ||style="background:lightblue;"| 6B || [[k]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1100 ||style="background:lightblue;"| 154 || style="background:#cff;"| 108 ||style="background:lightblue;"| 6C || [[l]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1101 ||style="background:lightblue;"| 155 || style="background:#cff;"| 109 ||style="background:lightblue;"| 6D || [[m]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1110 ||style="background:lightblue;"| 156 || style="background:#cff;"| 110 ||style="background:lightblue;"| 6E || [[n]] |
− | | | + | |
|- | |- | ||
− | | | + | |110 1111 ||style="background:lightblue;"| 157 || style="background:#cff;"| 111 ||style="background:lightblue;"| 6F || [[o]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0000 ||style="background:lightblue;"| 160 || style="background:#cff;"| 112 ||style="background:lightblue;"| 70 || [[p]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0001 ||style="background:lightblue;"| 161 || style="background:#cff;"| 113 ||style="background:lightblue;"| 71 || [[q]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0010 ||style="background:lightblue;"| 162 || style="background:#cff;"| 114 ||style="background:lightblue;"| 72 || [[r]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0011 ||style="background:lightblue;"| 163 || style="background:#cff;"| 115 ||style="background:lightblue;"| 73 || [[s]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0100 ||style="background:lightblue;"| 164 || style="background:#cff;"| 116 ||style="background:lightblue;"| 74 || [[t]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0101 ||style="background:lightblue;"| 165 || style="background:#cff;"| 117 ||style="background:lightblue;"| 75 || [[u]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0110 ||style="background:lightblue;"| 166 || style="background:#cff;"| 118 ||style="background:lightblue;"| 76 || [[v]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 0111 ||style="background:lightblue;"| 167 || style="background:#cff;"| 119 ||style="background:lightblue;"| 77 || [[w]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 1000 ||style="background:lightblue;"| 170 || style="background:#cff;"| 120 ||style="background:lightblue;"| 78 || [[x]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 1001 ||style="background:lightblue;"| 171 || style="background:#cff;"| 121 ||style="background:lightblue;"| 79 || [[y]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 1010 ||style="background:lightblue;"| 172 || style="background:#cff;"| 122 ||style="background:lightblue;"| 7A || [[z]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 1011 ||style="background:lightblue;"| 173 || style="background:#cff;"| 123 ||style="background:lightblue;"| 7B || [[Bracket#Curly brackets|{]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 1100 ||style="background:lightblue;"| 174 || style="background:#cff;"| 124 ||style="background:lightblue;"| 7C || [[Vertical bar||]] |
− | | | + | |
|- | |- | ||
− | | | + | |111 1101 ||style="background:lightblue;"| 175 || style="background:#cff;"| 125 ||style="background:lightblue;"| 7D || [[Bracket#Curly brackets|}]] |
|- | |- | ||
− | | 111 | + | |111 1110 ||style="background:lightblue;"| 176 || style="background:#cff;"| 126 ||style="background:lightblue;"| 7E || [[Tilde|~]] |
− | | | + | |} |
|} | |} |
Revision as of 08:46, 9 July 2013
ASCII printable characters
Codes 20hex to 7Ehex, known as the printable characters, represent letters, digits, punctuation marks, and a few miscellaneous symbols. There are 95 printable characters in total.
Code 20hex, the space character, denotes the space between words, as produced by the space-bar of a keyboard. Since the space character is considered an invisible graphic (rather than a control character)<ref name="FOOTNOTEMackenzie1980223">Mackenzie 1980, p. 223.</ref><ref name="RFC20_1968" /> and thus would not normally be visible, it is represented here by Unicode character U+2420 "␠"; Unicode characters U+2422 "␢" and U+2423 "␣" are also available for use when a visible representation of a space is necessary.
Code 7Fhex corresponds to the non-printable "Delete" (DEL) control character and is therefore omitted from this chart; it is covered in the previous section's chart.
Earlier versions of ASCII used the up-arrow instead of the caret (5Ehex) and the left-arrow instead of the underscore (5Fhex).<ref>ASA X3.4-1963.</ref>
|
|
|