Why One Emoji Can Count as More Than One Character
A visible symbol can contain several code points. Counters based on Unicode code points, grapheme clusters, and UTF-16 code units can give different answers for the same text.
Worked example
Sample with a decomposed accent and a skin-tone modifier
eĢšš½
Three valid counts for the same input
Grapheme clusters: 2 Unicode code points: 4 UTF-16 code units: 6 AIToolMaps character count: 4
Steps
- Identify the unit your limit uses. A human-facing counter may count grapheme clusters, while a technical field can use UTF-16 units or UTF-8 bytes.
- Test a combining accent and an emoji with a skin-tone modifier. Keep the copied text unchanged so normalization does not change the input.
- For an app limit, compare the sample in that exact app rather than assuming a count from another service applies.
What to check
- Visually identical text can differ in representation. A precomposed Ć© uses one code point.
- A character total says nothing about storage bytes unless the encoding is also specified.