Hi,
we have some French records in the database and I've noticed that when user does a search containing a French word, with accent or not, it retrieves exactly the same word. For example, entering "Montreal" will only return "montreal", but not "montéal"; and entering "montéal" will only return "montréal", not "montreal". We used to have AltaVista search engine and it was able to normalize the French accents, returning both "montreal" and "montréal" regardless what users enter.
We have to index words with accents, so removing accents in the database is not an option. Is there anyway to make the "search" script search for both letters, when users enters é,à,ê in a French word? Can you do a replace in a query string, ie ask the search function to search for both the phrase with the accented character and without, then combine the results?
I'd appreciate any help tips. Thank you.
we have some French records in the database and I've noticed that when user does a search containing a French word, with accent or not, it retrieves exactly the same word. For example, entering "Montreal" will only return "montreal", but not "montéal"; and entering "montéal" will only return "montréal", not "montreal". We used to have AltaVista search engine and it was able to normalize the French accents, returning both "montreal" and "montréal" regardless what users enter.
We have to index words with accents, so removing accents in the database is not an option. Is there anyway to make the "search" script search for both letters, when users enters é,à,ê in a French word? Can you do a replace in a query string, ie ask the search function to search for both the phrase with the accented character and without, then combine the results?
I'd appreciate any help tips. Thank you.