Question: how many utf-8 characters are there?
Answer: 2,164,864 “characters” can be potentially coded by UTF-8. This number is 2^7 + 2^11 + 2^16 + 2^21 which comes from the way the encoding works: 1-byte chars have 7 bits for encoding 0xxxxxxx (0x00-0x7F)