Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] count graphemes instead of code units in text fields #48

Open
Veraellyunjie opened this issue Mar 12, 2024 · 0 comments
Open

Comments

@Veraellyunjie
Copy link

Veraellyunjie commented Mar 12, 2024

Pertinent to "Something about myself", "Prompts" and "Send a compliment"

grapheme and code unit as defined at https://stackoverflow.com/a/27331885

With measly size of text fields, I tried to save replacing words with emoji. Ha,
many popular emojis like 🚀 cost 2 characters/code units
flags like 🇬🇧 cost 4 (could use GB costing 2)
👨‍👩‍👧‍👦 (Family: Man, Woman, Girl, Boy) is a single grapheme costing 11 characters/code units. Word family costs 6. Losing 5 😛

Please count graphemes instead of code units

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant