Again, a deeper understanding of the different encoding sets

UTF8 encoding

It’s a variable-length encoding problem

The text length of Chinese characters and other content can be changed in different situations according to different questions and situations.

unicode encoding

This is to solve the problem of inconsistent coding between different countries.

ASCII encoding is 1 byte. When converting to Unicode encoding, the high bits must be filled with 0s.

Picture understanding

Insert image description here

Insert image description here

Guess you like

Origin blog.csdn.net/weixin_44943389/article/details/132968096