Unicode

§什麼是unicode

He explained that "[t]he name 'Unicode' is intended to suggest a unique, unified, universal encoding".ide

§爲何出現unicode

Unicode could be roughly described as "wide-body ASCII" that has been stretched to 16 bits to encompass the characters of all the world's living languages.spa

§能夠定義多少字符

Unicode defines a codespace of 1,114,112 code points in the range 0hex to 10FFFFhex.
256 * 256 * 17 = 1,114,111
0000 0000 0000 0000 0000 0000
0001 0000 1111 1111 1111 1111
0x10 = 16 算上0x00 一共能夠表示17個平面code

§什麼是BMP

Basic Multilingual Plane
Plane0
0000-FFFF
這是最初的,其餘的均爲擴展平面utf-8

§爲什麼會產生utf-8,utf-16和utf-32

By early 1992, the search was on for a good byte-stream encoding of multi-byte character sets.unicode

相關文章
相關標籤/搜索