0
MMojiFlow
Unicode · Emoji · Engineering·6 Reading Time·Last Updated: 2026-11-15

Unicode ZWJ Sequences, Variation Selectors & Skin Tone Modifiers Explained

A technical look at how multi-code-point emoji sequences stay intact when copying, reversing, or counting characters.

Why One Visual Emoji Can Contain Seven Code Points

Many modern emojis are not single code points. Compound emojis such as ❤️‍🔥 (Heart on Fire) combine U+2764 (Heavy Black Heart), U+FE0F (Variation Selector-16), U+200D (Zero Width Joiner), and U+1F525 (Fire) into a single rendered grapheme cluster.

Naive JavaScript string methods like str.split("") or str.length count UTF-16 code units rather than visual grapheme clusters, which corrupts emojis when reversing or truncating text. MojiText uses Intl.Segmenter grapheme segmentation to keep sequences whole.

Fitzpatrick Skin Tone Modifiers

Unicode defines five skin tone modifier characters (U+1F3FB through U+1F3FF) based on the Fitzpatrick dermatological scale. When appended to eligible human or hand emojis, platforms render the corresponding tone variant cleanly.