Template:ASCII

From Wikipedia, the free encyclopedia

This is a reference to the 128 ASCII codes for programmer convienience. 
   It is not expected that it be included in anything, but act as a look-up at need for templates where hard coding of a character is needed to work around undesirable preprossing effects during the the parsing and expansion of a template line.

     Such codes can be entered using the format prefix='&#', Suffix=';' both sandwiched about the decimal code value like the examples:
" &# 126; -- &# 91; -- &# 93; -- &# 95; -- &# 123; -- &# 124; -- &# 125; " which produces the respective output gyphs (These, the most useful to preprocessor work arounds):
( "~ -- [ -- ] -- _ -- { -- | -- } ")

Other sister projects links using this system of tagging (The array below is produced by this page):


{{IWTG size}}==35
W
Metawiki
Our umbrella organization, Metawiki has this template:



Template:WikiPtmp0
Wikipedia
Wikipedia has this template: ASCII


Commons
The sister project Commons has this template: ASCII


Wikibooks logo
Wikibooks has the similar template:
Wikiquote
The sister project Wikiquote has this template: ASCII


Wikisource
The sister project Wikisource has this template: ASCII


Wiktionary
The sister project Wiktionary has this template: ASCII


Wikinews
The sister project Wikinews has this template: ASCII


Wikispecies
Wikispecies has this template: ASCII


Wikiversity
The sister project Wikiversity has this template: ASCII



[edit] ASCII control characters

Binary Oct Dec Hex Abbr PR[1] CS[2] Description
0000 0000 000 0 00 NUL ^@ Null character
0000 0001 001 1 01 SOH ^A Start of Header
0000 0010 002 2 02 STX ^B Start of Text
0000 0011 003 3 03 ETX ^C End of Text
0000 0100 004 4 04 EOT ^D End of Transmission
0000 0101 005 5 05 ENQ ^E Enquiry
0000 0110 006 6 06 ACK ^F Acknowledgment
0000 0111 007 7 07 BEL ^G Bell
0000 1000 010 8 08 BS ^H Backspace[3][7]
0000 1001 011 9 09 HT ^I Horizontal Tab
0000 1010 012 10 0A LF ^J Line feed
0000 1011 013 11 0B VT ^K Vertical Tab
0000 1100 014 12 0C FF ^L Form feed
0000 1101 015 13 0D CR ^M Carriage return[6]
0000 1110 016 14 0E SO ^N Shift Out
0000 1111 017 15 0F SI ^O Shift In
0001 0000 020 16 10 DLE ^P Data Link Escape
0001 0001 021 17 11 DC1 ^Q Device Control 1 (oft. XON)
0001 0010 022 18 12 DC2 ^R Device Control 2
0001 0011 023 19 13 DC3 ^S Device Control 3 (oft. XOFF)
0001 0100 024 20 14 DC4 ^T Device Control 4
0001 0101 025 21 15 NAK ^U Negative Acknowledgement
0001 0110 026 22 16 SYN ^V Synchronous Idle
0001 0111 027 23 17 ETB ^W End of Trans. Block
0001 1000 030 24 18 CAN ^X Cancel
0001 1001 031 25 19 EM ^Y End of Medium
0001 1010 032 26 1A SUB ^Z Substitute
0001 1011 033 27 1B ESC ^[ Escape[5]
0001 1100 034 28 1C FS ^\ File Separator
0001 1101 035 29 1D GS ^] Group Separator
0001 1110 036 30 1E RS ^^ Record Separator
0001 1111 037 31 1F US ^_ Unit Separator
0111 1111 177 127 7F DEL ^? Delete[4][7]

[edit] ASCII printable characters

Code 32, the "space" character, denotes the space between words, as produced by the large space-bar of a keyboard. Codes 33 to 126, known as the printable characters, represent letters, digits, punctuation marks, and a few miscellaneous symbols.

Seven-bit ASCII provided seven "national" characters and, if the combined hardware and software permit, can use overstrikes to simulate some additional international characters: in such a scenario a backspace can precede a grave accent (which the American and British standards, but only those standards, also call "opening single quotation mark"), a tilde, or a breath mark (inverted vel).

Binary Dec Hex Glyph
0010 0000 32 20 (blank)
(␠) or (␠c)
space
0010 0001 33 21 !
0010 0010 34 22 "
0010 0011 35 23 #
0010 0100 36 24 $
0010 0101 37 25 %
0010 0110 38 26 &
0010 0111 39 27 '
0010 1000 40 28 (
Left bracket
0010 1001 41 29 )
Right bracket
0010 1010 42 2A *
0010 1011 43 2B +
0010 1100 44 2C ,
0010 1101 45 2D -
0010 1110 46 2E .
0010 1111 47 2F /
0011 0000 48 30 0
0011 0001 49 31 1
0011 0010 50 32 2
0011 0011 51 33 3
0011 0100 52 34 4
0011 0101 53 35 5
0011 0110 54 36 6
0011 0111 55 37 7
0011 1000 56 38 8
0011 1001 57 39 9
0011 1010 58 3A :
0011 1011 59 3B ;
0011 1100 60 3C <
0011 1101 61 3D =
0011 1110 62 3E >
0011 1111 63 3F ?
 
Binary Dec Hex Glyph
0100 0000 64 40 @
0100 0001 65 41 A
0100 0010 66 42 B
0100 0011 67 43 C
0100 0100 68 44 D
0100 0101 69 45 E
0100 0110 70 46 F
0100 0111 71 47 G
0100 1000 72 48 H
0100 1001 73 49 I
0100 1010 74 4A J
0100 1011 75 4B K
0100 1100 76 4C L
0100 1101 77 4D M
0100 1110 78 4E N
0100 1111 79 4F O
0101 0000 80 50 P
0101 0001 81 51 Q
0101 0010 82 52 R
0101 0011 83 53 S
0101 0100 84 54 T
0101 0101 85 55 U
0101 0110 86 56 V
0101 0111 87 57 W
0101 1000 88 58 X
0101 1001 89 59 Y
0101 1010 90 5A Z
0101 1011 91 5B [
Left bracket
0101 1100 92 5C \
   Backslash
0101 1101 93 5D ]
Right bracket
0101 1110 94 5E ^
0101 1111 95 5F _
 
Binary Dec Hex Glyph
0110 0000 96 60 `
0110 0001 97 61 a
0110 0010 98 62 b
0110 0011 99 63 c
0110 0100 100 64 d
0110 0101 101 65 e
0110 0110 102 66 f
0110 0111 103 67 g
0110 1000 104 68 h
0110 1001 105 69 i
0110 1010 106 6A j
0110 1011 107 6B k
0110 1100 108 6C l
0110 1101 109 6D m
0110 1110 110 6E n
0110 1111 111 6F o
0111 0000 112 70 p
0111 0001 113 71 q
0111 0010 114 72 r
0111 0011 115 73 s
0111 0100 116 74 t
0111 0101 117 75 u
0111 0110 118 76 v
0111 0111 119 77 w
0111 1000 120 78 x
0111 1001 121 79 y
0111 1010 122 7A z
0111 1011 123 7B {
Left brace
0111 1100 124 7C |
or 'Pipe'
(slang)
0111 1101 125 7D }
right brace
0111 1110 126 7E ~