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

Postgres has a module called unaccent[0] that removes diacritics for filtering. I expect your browser is doing something similar. While not appropriate when looking for exact matches, when doing user-input based searches, this should probably be the norm, as the user may be unaware of the accents or how to input them correctly on their keyboards.

Dove deep on this years ago when implementing a filter for wines and wine regions.

[0][https://www.postgresql.org/docs/current/unaccent.html]




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: