14. The coding problem?


Is 0, the underlying computer
2,561,286,432,168,421 decimal number
2 ** 82 ** 72 ** 62 ** 52 ** 42 ** 32 ** 22 ** 12 ** 0
0 0 0 0 0 0 0 0 0 binary
ascii code has 256 characters, 2 ** 8
artificial ascii code corresponding to the character set decimal digit
decimal binary relationship with a converter
so ascii code letters caona


ascii 128 6432168421 decimal number
00000000 binary
C 99 0. 1. 1 0 0 0. 1. 1
A 97 0. 1. 1 0 0 0 0. 1
O 111 0. 1. 1 0. 1. 1. 1. 1
n- 11001101110
97. 1. 1 0 0 A 0 0 0. 1

0,1,0,1 represents the smallest unit of a computer, a 'bit
8' bit, i.e. 8 0101, representing a bytes, a byte is the smallest unit of storage . It is also a character.



Binary
Decimal
octal,
hexadecimal
between conversion
and ascii code, unicode utf-8 gbk-peer relationship, as well as terminal, pycharm, codec problem? ? ? ? ? ? ? ? ? ? ? ? ? ?

Guess you like

Origin www.cnblogs.com/xh716/p/11563077.html