Re:Text Editor Data Structures
by jychang on Tuesday June 13, 2023 @03:52PM
(#36315974)
Emojis with skin color, mostly
[ Parent
| on HN ]
No, that's a ZWJ sequence. Those can be arbitrarily long. Doesn't explain where "5 bytes" comes from.
Re:Text Editor Data Structures
by throwaway2037 on Wednesday June 14, 2023 @05:21AM
(#36323406)
Is there a maximum number of "zero-width joiner" (ZWJ) sequences that can be combined to create a single-width emoji? (Yes, I know the term "single-width" is a loaded term.) I cannot find a precise answer.