Advertisement

字符编码ANSI编码、ASCII编码、GB2312编码、GBK编码、GB18030编码及UNICODE和UTF-8小结

阅读量:

编码和解码可被视为二进制与符号(不仅限于传统的二进制编码还包括汉字等)之间的映射表其中编码的本质是从符号被转换为二进制形式而解码则是与其过程相逆

1.英语字符编码ASCII

最初 computers were only used in the United States. A byte, consisting of 8 bits, can represent 256 different values (2^8). The Americans designated the first 32 values (0-31) as special purposes. When these specific byte patterns are transmitted to a terminal or printer, certain actions are initiated. For example, when a byte with the value 00x10 is received, the terminal will print a new line. If a byte with the value 0x07 is received, the terminal will produce a sound effect. In the case of 0x1b, the p

全部评论 (0)

还没有任何评论哟~