1

As posted here I would like to make my jquery mobile listview filtering accent independent. So if you search for "Créteil" it would be the same as looking for "Creteil". Out of the box jQuery Mobile does make a distinction between accented and not accented characters, so if you type "Creteil" you won't get any results.

How can I make it so using the non-accented characters yields the same results as using their accented counterparts?

Community
  • 1
  • 1
MichelReap
  • 5,630
  • 11
  • 37
  • 99
  • Possible duplicate of http://stackoverflow.com/questions/5700636/using-javascript-to-perform-text-matches-with-without-accented-characters – MrUpsidown Jan 15 '14 at 11:42
  • It's not. This is a question specific to jQuery-Mobile. I'm not asking how to perform the replacements; I am asking how to apply these normalizations over the specific listview control of jQM. – MichelReap Jan 15 '14 at 11:47
  • 1
    Maybe you could use `data-filtertext` to include a non-accented version? http://demos.jquerymobile.com/1.4.0/listview-autocomplete/ but then searching for Cretéil for example would not work. – MrUpsidown Jan 15 '14 at 11:57

0 Answers0