3 ms·
No, 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 appr
by deathanatos 4y ago
No, 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.)