Alovoa / alovoa-expo

Alovoa frontend for Web, Android and iOS - Made with expo
https://play.google.com/store/apps/details?id=com.alovoa.expo
Mozilla Public License 2.0
49 stars 10 forks source link

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

Open Veraellyunjie opened 5 months ago

Veraellyunjie commented 5 months ago

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