▲ | nottorp 4 days ago | |
Hmm i count at most 21 bits. Just 2 billion code points. Is that all Unicode can do? How are they going to fit all the emojis in? | ||
▲ | danhau 4 days ago | parent [-] | |
The max code point in Unicode is 0x10FFFF. ceil(log2(0x10FFFF+1)) = 21. So yes, a Unicode codepoint requires only 21 bits. 297334 codepoints have been assigned so far, that‘s about 1/4 of the available range, if my napkin math is right. Plenty of room for more emoji. |