Something like the jquery highlight function combined with this kind of
mapping:
http://stackoverflow.com/questions/863800/replacing-diacritics-in-javascript
If you don't mind, you can speed things up by forcing the comparison sets to
be in one case or the other.
--Joe
On Fri, Aug 28, 2009 at 12:17 PM, Tim Shearer <[log in to unmask]> wrote:
> Hi Folks,
>
> Looking for help/perspectives.
>
> Anyone got any clever solutions for allowing folks to find a word with
> diacritics in a rendered web page regardless of whether or not the user
> tries with or without diacritics.
>
> In indexes this is usually solved by indexing the word with and without, so
> the user gets what they want regardless of how they search.
>
> Thanks in advance for any ideas/enlightenment,
> Tim
>
|