3 ms·
> Has anyone here ever had a use case for toLower() where they actually wanted localization to apply? If you are collecting data which include people's names
by mrighele 6y ago
> Has anyone here ever had a use case for toLower() where they actually wanted localization to apply?
If you are collecting data which include people's names or addresses you probably want localization to be applied correctly so that you can compare data coming from different sources and possibly with different cases. Having your name spelled differently in different documents can cause a non trivial amount of problems with an overzealous bureaucracy.
- bjoli 6y agoI was onced refused entry into a country for 6 hours because of different spellings of my last name. The (apparently quite amateur) travel agency had sent my last name written using OE instead of Ö, whereas all the documents relating to my identity use Ö (or if it was the other way around).
- dusted 6y agoWe thought on this specifically when naming our son, one with no special characters, a pure clean ASCII string like mom used to cook them.