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

That will not work for all languages. Look at https://www.w3.org/International/wiki/Case_folding for an explanation of why this problem is nontrivial. The lower function is sufficient: it handles case-folding properly, using the configured locale. Explicitly stripping accents can actually be the wrong choice depending on the locale


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

Search: