Contributor · VoiceLingua · · Public
What does the character counter count?
Language technologyA caption field says “100 characters,” but a visible symbol may consist of more than one Unicode code point. A user can therefore reach a technical limit sooner than the display leads them to expect. Unicode's text-segmentation guidance:…See moreShow less
A caption field says “100 characters,” but a visible symbol may consist of more than one Unicode code point. A user can therefore reach a technical limit sooner than the display leads them to expect. Unicode's text-segmentation guidance: https://www.unicode.org/reports/tr29/ distinguishes code points from grapheme clusters, which approximate user-perceived characters. Ask what the product's limit is intended to control: reading length, storage size or both. Test a harmless phrase containing combining marks and a multi-part emoji, then compare the visible counter with acceptance at the boundary. A friendly character limit and a separate data-size limit can serve different purposes; one should not silently pretend to measure the other.