Good ${greeting_time}, Maurice!
15 Jan 2015 05:27:16, you wrote to Nicholas Boel:
MK> With a basic knowledge of how utf-8 works. For all 2 byte
MK> characters, the leading byte is restricted from 0xc2 to 0xdf
30 different values.
MK> and all trailing bytes from 0x80 to 0xbf in one-byte-speak.
64 different values. The total number of characters is 30*64 == 1920
MK> Note that between leading and trailing bytes there is no crossover,
MK> and by doing simple math, that means that all utf-8 characters can
MK> be remapped to a total of 92 7-bit codes.
7 bits will give you only 128 characters, but you need 1920.
They will fit in 11 bits, but that will still require 2 bytes.
--
Alexey V. Vissarionov aka Gremlin from Kremlin
gremlin.ru!gremlin; +vii-cmiii-cmlxxvii-mmxlviii
... GPG: 8832FE9FA791F7968AC96E4E909DAC45EF3B1FA8 @ hkp://keys.gnupg.net
--- /bin/vi
* Origin: http://openwall.com/Owl (2:5020/545)
|