3 ms·
UTF-32 isn't even guaranteed to be a single code point.
by ok123456 4y ago
UTF-32 isn't even guaranteed to be a single code point.
- deathanatos 4y agoNo, UTF-32 code units are Unicode scalar values¹, always. They are not grapheme clusters, such as the "family: man, woman, boy" emoji from TFA. ¹which is approximately what I think you're saying here. I.e., you're trying to say that a code point might span multiple UTF-32 code units; that is not correct. (It should be simple to see how a code point, which has the range [0, 0x10FFFF], can always fit into a u32.)
- xdfgh1112 4y ago*grapheme cluster