3 ms·
128 bytes is only 4 32-bit characters. Now, I think 4-byte UTF-8 characters are pretty rare, but at least 3-byte ones are certainly common in names, even legal
by morpheuskafka 2y ago
128 bytes is only 4 32-bit characters. Now, I think 4-byte UTF-8 characters are pretty rare, but at least 3-byte ones are certainly common in names, even legal names.
If you allow users to type emojis in their name you will definitely run out as the color/gender selectors take up an additional code point.
- cpburns2009 2y agoYou confused bits with bytes. 128 bytes can encode 32 4-byte long characters.