1

Possible Duplicate:
Mongodb match accented characters as underlying character

I'm from a country where we have more characters than English alphabet. Basically what I want to do is:

I have word ščumnik, and I want to search in database for šcumnik, scumnik, sčumnik,

š=s
ž=z
č=c
é=e
...

I want to ignore everything above letter.

Cœur
  • 37,241
  • 25
  • 195
  • 267
ewooycom
  • 2,651
  • 5
  • 30
  • 52

1 Answers1

0

Question on how to remove diacritics at StackOverflow

Article with listing in JavaScript

After diacritics is removed, you can use the resulted value for example for searching and index building.

Community
  • 1
  • 1
Vladimir
  • 9,913
  • 4
  • 26
  • 37