码迷,mamicode.com
首页 > 其他好文 > 详细

ASCII编码表

时间:2014-07-24 10:13:05      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:style   color   strong   c   amp   table   

十六进制 ASCII编码表

竖列表示高4位编码,横行表示低4位编码。

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

tab

lf

vt

ff

cr

so

si

1

dle

dc1

dc2

dc3

dc4

nak

syn

etb

can

em

sub

esc

fs

gs

rs

us

2

 

!

"

#

$

%

&

(

)

*

+

,

-

.

/

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

e

s

t

u

v

w

x

y

z

{

|

}

~

del

 

例如:数字“0”的ASCII编码

竖列为“3”,则二进制编码为: 0011 (高4位编码)

横行为“0”,则二进制编码为: 0000 (低4位编码)

所以“0” 的ASCII编码为: 00110000

 

 

十进制 ASCII编码表

竖列: 表示十位(或:十位 + 百位);

横行: 表示个位;

dec

0

1

2

3

4

5

6

7

8

9

0

nul

soh

stx

etx

eot

enq

ack

bel

bs

tab

1

lf

vt

ff

cr

so

si

dle

dc1

dc2

dc3

2

dc4

nak

syn

etb

can

em

sub

esc

fs

gs

3

rs

us

 

!

"

#

$

%

&

4

(

)

*

+

,

-

.

/

0

1

5

2

3

4

5

6

7

8

9

:

;

6

=

?

@

A

B

C

D

E

7

F

G

H

I

J

K

L

M

N

O

8

P

Q

R

S

T

U

V

W

X

Y

9

Z

[

\

]

^

_

`

a

b

c

10

d

e

f

g

h

i

j

k

l

m

11

n

o

p

q

e

s

t

u

v

w

12

x

y

z

{

|

}

~

del

 

 

 

例如:字母“A”的ASCII编码:

竖列为:6;

横行为:5;

所以“A”字母的ASCII编码为:65

 

 

常见字符的顺序:

!"#$&‘()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxuz{|}~

ASCII编码表,布布扣,bubuko.com

ASCII编码表

标签:style   color   strong   c   amp   table   

原文地址:http://www.cnblogs.com/Spacecup/p/3864749.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!