4 ms·
Text search, text replacement, ellipsizing text at the end or middle (as done commonly on iOS), fuzzy search, password word limits, password length limits, matc
by RyanZAG 13y ago
Text search, text replacement, ellipsizing text at the end or middle (as done commonly on iOS), fuzzy search, password word limits, password length limits, matching passwords (try using bcrypt on international languages without first normalizing), detecting and filtering rude words in public chat, ... Basically anywhere that text needs to be checked or changed.
Just off the top of my head. There are far more. You can't even have a native language user friendly login system without normalizing text.
- lelf 13y agoText search, search, that counts text replacement, why? ellipsizing text at the end or middle (as done commonly on iOS), you need to know width for that, and you don't, bad idea fuzzy search, search password word limits, password length limits, matching passwords (try using bcrypt on international languages without first normalising), i18n password? very bad idea detecting and filtering rude words in public chat search&replace, anyway you won't be able to, because f͌̊ͦuͥcͥ͑ͩ͛k͂͌̿ͣ̾
- deathanatos 13y ago> you need to know width for that, and you don't, bad idea You also need to not chop off accents. "café" cannot become "cafe…" > i18n password? very bad idea Because string types are so broken.