Comment by bwilliams18
2 days ago
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.
No comments yet
Contribute on Hacker News ↗