If I have a search engine how can I make a search to work irrespective of accents etc.
i.e. avi�n (aeroplane in spanish)
Normally the searcher would only write "avion" into the search engine, how can I make it find "avi�n", it needs to work with anyword and I would never know where the accents would be.
What kind of search engine do you have? Is it based on a database? If so, can you ensure that the database is accent insensitive? (MS SQL Server is by default as far as I recall)
Alternatively, you could just create a mapping of accented characters to non-accented versions of those characters and replace accented characters provided in user input with non-accented versions before submitting to the search engine (replaceList() is handy for this kind of thing). Of course, this takes no account of the indexing process ;)
Mark
-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
