当前位置:网站首页>Character encoding minutes

Character encoding minutes

2022-06-25 14:51:00 -Ximen blowing snow

Mind mapping is summarized from this article
 Insert picture description here

Supplement the corresponding relationship of four bytes
 Four bytes
The following description sources
With utf-8 The characters are encoded as follows :

  1. Determine the number of octets required for character numbering and the first column of the above table . It is important to note that the rows of the table are mutually exclusive , That is, there is only one effective way to encode a given character .
  2. Prepare the column of the higher-order bit table of octets according to the second .
  3. Fill the mark from the bits of the character number x Bit , Expressed in binary . First place the octet of the character number sequence at the last certain position of the lowest order , Then put down the next higher-order bit the word symbol in the next higher-order position of the octet , When the last octet of X Bit fill , Go ahead next to the last octet ,

Source of figure below , Fang Yinghang's answer
 history

原网站

版权声明
本文为[-Ximen blowing snow]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202200518258016.html