Here is a code point: U+091D
. The symbol it represents in UTF-8 is झ. In hex the symbol requires three bytes: e0 a4 9d
. But it looks like the number 091D
requires two bytes. So why do we need three bytes to encode the symbol? Probably due to
the restriction of the Unicode code-space to 21-bit values in 2003
Please see the beginning of the description section. OK, but why did they restrict the code-space to 21 bits?
I converted e0 a4 9d
to binary, and the result is
11100000 10100100 10011101
Then I converted 091D
to binary and got
00001001 00011101
The two binary results seems to have little in common. So how did 091D
become e0 a4 9d
?