Character encoding and character encoding save format

xiaoxiao2021-03-18  195

1, Unicode, GB2312 is two character encodings

2, UTF16 and UTF8 are unicode encoded save format 3, UTF16 is all Unicode encodings with 16bit storage 4, UTF8 is compressed, such as the encoding of the ASCII character portion of Unicode and the ASCII code is the same 0-127, in UTF8 is stored in 8 bits, and those Chinese characters are stored in double-byte.

5, coding is what the number is what characters are, which is a collection table for each character. 6, while the storage format refers to how these numbers are stored. Such as UTF16 (0x0030), UTF8 (0x30)

转载请注明原文地址:https://www.9cbs.com/read-129931.html

New Post(0)