Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do you need a library. Name is an open input field. As long as the inputs are sanitized, you should just accept whatever is typed there.


Depends on the language and what you'll use the name for.

Some names change capitalisation when the last name is used by itself vs full name for example.

In some languages a name affect the words around it in a sentence (for a random example, an "o" in Spanish (or) becomes "u" when the next word starts by the "o" sound -> "Carlos o Maria", but "Carlos u Oscar".

In general, for a sufficiently large and well-localised application you will need to modify or parse the name at some point. Not sure that a library can do that properly though.


I agree with you, however these are small issues compared to having arbitrary requirements for names which create real life problems.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: