ASCII Table
HEX |
…0 |
…1 |
…2 |
…3 |
…4 |
…5 |
…6 |
…7 |
…8 |
…9 |
…A |
…B |
…C |
…D |
…E |
…F |
0… |
NUL |
SOH |
STX |
ETX |
EOT |
ENQ |
ACK |
BEL |
BS |
HT |
LT |
VT |
FF |
CR |
SO |
SI |
1… |
DLE |
DC1 |
DC2 |
DC3 |
DC4 |
NAK |
SYN |
ETB |
CAN |
EM |
SUB |
ESC |
FS |
GS |
RS |
US |
2… |
sp |
! |
" |
# |
$ |
% |
& |
' |
( |
) |
* |
+ |
, |
- |
. |
/ |
3… |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
: |
; |
< |
= |
> |
? |
4… |
@ |
A |
B |
C |
D |
E |
F |
G |
H |
I |
J |
K |
L |
M |
N |
O |
5… |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
[ |
/ |
] |
^ |
_ |
6… |
` |
a |
b |
c |
d |
e |
f |
g |
h |
i |
j |
k |
l |
m |
n |
o |
7… |
p |
q |
r |
s |
t |
u |
v |
w |
x |
y |
z |
{ |
| |
} |
~ |
del |
Unicode name |
|
Hex value |
|
Decimal value |
|
Binary value |
|
<script type=text/javascript>
var chars = new Array();
for (i = 0; i < 128; ++i) { chars[i] = new Object(); }
for (i = 0; i < 128; ++i) { chars[i].UnicodeName = String.fromCharCode(i); }
chars[0x00].UnicodeName = "NULL";
chars[0x01].UnicodeName = "Start of heading";
chars[0x02].UnicodeName = "Start of text";
chars[0x03].UnicodeName = "End of text";
chars[0x04].UnicodeName = "End of transmission";
chars[0x05].UnicodeName = "Enquiry";
chars[0x06].UnicodeName = "Acknowledge";
chars[0x07].UnicodeName = "Bell";
chars[0x08].UnicodeName = "Backspace";
chars[0x09].UnicodeName = "Horizontal tabulation (Character tabulation)";
chars[0x0A].UnicodeName = "Line feed";
chars[0x0B].UnicodeName = "Vertical tabulation (Line tabulation)";
chars[0x0C].UnicodeName = "Form feed";
chars[0x0D].UnicodeName = "Carriage return";
chars[0x0E].UnicodeName = "Shift out";
chars[0x0F].UnicodeName = "Shift in";
chars[0x10].UnicodeName = "Data link escape";
chars[0x11].UnicodeName = "Device control one";
chars[0x12].UnicodeName = "Device control two";
chars[0x13].UnicodeName = "Device control three";
chars[0x14].UnicodeName = "Device control four";
chars[0x15].UnicodeName = "Negative acknowledge";
chars[0x16].UnicodeName = "Synchronous idle";
chars[0x17].UnicodeName = "End of transmission block";
chars[0x18].UnicodeName = "Cancel";
chars[0x19].UnicodeName = "End of medium";
chars[0x1A].UnicodeName = "Substitue";
chars[0x1B].UnicodeName = "Escape";
chars[0x1C].UnicodeName = "File separator (information separator four)";
chars[0x1D].UnicodeName = "Group separator (information separator three)";
chars[0x1E].UnicodeName = "Record separator (information separator two)";
chars[0x1F].UnicodeName = "Unit separator (information separator one)";
chars[0x20].UnicodeName = "Space";
chars[0x21].UnicodeName = "Exclamation mark";
chars[0x22].UnicodeName = "Quotation mark";
chars[0x23].UnicodeName = "Number sign, pound sign, hash, crosshatch, octothorpe";
chars[0x24].UnicodeName = "Dollor sign";
chars[0x25].UnicodeName = "Percent sign";
chars[0x26].UnicodeName = "Ampersand";
chars[0x27].UnicodeName = "Apostrophe";
chars[0x28].UnicodeName = "Left parenthesis";
chars[0x29].UnicodeName = "Right parenthesis";
chars[0x2A].UnicodeName = "Asterisk, star";
chars[0x2B].UnicodeName = "Plus sign";
chars[0x2C].UnicodeName = "Comma";
chars[0x2D].UnicodeName = "Hyphen or minus sign";
chars[0x2E].UnicodeName = "Full stop, period, dot, decimal point";
chars[0x2F].UnicodeName = "Solidus, slash, virgule";
chars[0x30].UnicodeName = "Digit zero";
chars[0x31].UnicodeName = "Digit one";
chars[0x32].UnicodeName = "Digit two";
chars[0x33].UnicodeName = "Digit three";
chars[0x34].UnicodeName = "Digit four";
chars[0x35].UnicodeName = "Digit five";
chars[0x36].UnicodeName = "Digit six";
chars[0x37].UnicodeName = "Digit seven";
chars[0x38].UnicodeName = "Digit eight";
chars[0x39].UnicodeName = "Digit nine";
chars[0x3A].UnicodeName = "Colon";
chars[0x3B].UnicodeName = "Semicolon";
chars[0x3C].UnicodeName = "Less-than sign";
chars[0x3D].UnicodeName = "Equals sign";
chars[0x3E].UnicodeName = "Greater-than sign";
chars[0x3F].UnicodeName = "Question mark";
chars[0x40].UnicodeName = "Commercial at, at sign";
chars[0x41].UnicodeName = "Latin capital letter A";
chars[0x42].UnicodeName = "Latin capital letter B";
chars[0x43].UnicodeName = "Latin capital letter C";
chars[0x44].UnicodeName = "Latin capital letter D";
chars[0x45].UnicodeName = "Latin capital letter E";
chars[0x46].UnicodeName = "Latin capital letter F";
chars[0x47].UnicodeName = "Latin capital letter G";
chars[0x48].UnicodeName = "Latin capital letter H";
chars[0x49].UnicodeName = "Latin capital letter I";
chars[0x4A].UnicodeName = "Latin capital letter J";
chars[0x4B].UnicodeName = "Latin capital letter K";
chars[0x4C].UnicodeName = "Latin capital letter L";
chars[0x4D].UnicodeName = "Latin capital letter M";
chars[0x4E].UnicodeName = "Latin capital letter N";
chars[0x4F].UnicodeName = "Latin capital letter O";
chars[0x50].UnicodeName = "Latin capital letter P";
chars[0x51].UnicodeName = "Latin capital letter Q";
chars[0x52].UnicodeName = "Latin capital letter R";
chars[0x53].UnicodeName = "Latin capital letter S";
chars[0x54].UnicodeName = "Latin capital letter T";
chars[0x55].UnicodeName = "Latin capital letter U";
chars[0x56].UnicodeName = "Latin capital letter V";
chars[0x57].UnicodeName = "Latin capital letter W";
chars[0x58].UnicodeName = "Latin capital letter X";
chars[0x59].UnicodeName = "Latin capital letter Y";
chars[0x5A].UnicodeName = "Latin capital letter Z";
chars[0x5B].UnicodeName = "Left square bracket";
chars[0x5C].UnicodeName = "Reverse solidus, backslash";
chars[0x5D].UnicodeName = "Right square bracket";
chars[0x5E].UnicodeName = "Circumflex accent";
chars[0x5F].UnicodeName = "Low line, spcing underscore";
chars[0x60].UnicodeName = "Grave accent";
chars[0x61].UnicodeName = "Latin small letter A";
chars[0x62].UnicodeName = "Latin small letter B";
chars[0x63].UnicodeName = "Latin small letter C";
chars[0x64].UnicodeName = "Latin small letter D";
chars[0x65].UnicodeName = "Latin small letter E";
chars[0x66].UnicodeName = "Latin small letter F";
chars[0x67].UnicodeName = "Latin small letter G";
chars[0x68].UnicodeName = "Latin small letter H";
chars[0x69].UnicodeName = "Latin small letter I";
chars[0x6A].UnicodeName = "Latin small letter J";
chars[0x6B].UnicodeName = "Latin small letter K";
chars[0x6C].UnicodeName = "Latin small letter L";
chars[0x6D].UnicodeName = "Latin small letter M";
chars[0x6E].UnicodeName = "Latin small letter N";
chars[0x6F].UnicodeName = "Latin small letter O";
chars[0x70].UnicodeName = "Latin small letter P";
chars[0x71].UnicodeName = "Latin small letter Q";
chars[0x72].UnicodeName = "Latin small letter R";
chars[0x73].UnicodeName = "Latin small letter S";
chars[0x74].UnicodeName = "Latin small letter T";
chars[0x75].UnicodeName = "Latin small letter U";
chars[0x76].UnicodeName = "Latin small letter V";
chars[0x77].UnicodeName = "Latin small letter W";
chars[0x78].UnicodeName = "Latin small letter X";
chars[0x79].UnicodeName = "Latin small letter Y";
chars[0x7A].UnicodeName = "Latin small letter Z";
chars[0x7B].UnicodeName = "Left curly bracket";
chars[0x7C].UnicodeName = "Vertical line, vertical bar";
chars[0x7D].UnicodeName = "Right curly bracket";
chars[0x7E].UnicodeName = "Tilde";
chars[0x7F].UnicodeName = "Delete";
var hexValues = new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");
var binValues = new Array("0000","0001","0010","0011","0100","0101","0110","0111","1000","1001","1010","1011","1100","1101","1110","1111");
function formatHex(x)
{
return hexValues[parseInt(x / 16)] + hexValues[x % 16];
}
function formatBin(x)
{
return binValues[parseInt(x / 16)] + binValues[x % 16];
}
function show(x)
{
document.getElementById("UnicodeName").innerHTML = chars[x].UnicodeName;
document.getElementById("HexValue").innerHTML = formatHex(x);
document.getElementById("DecValue").innerHTML = x;
document.getElementById("BinValue").innerHTML = formatBin(x);
}
</script>
原文:http://www.zero-one-zero.com/asciitable/ASCIITable.html