title: allow accented characters to be searchable?
body: <p>SOLVED:</p>
  
  <p>I used the following code: </p>
  
  <pre><code>var compareinfo = CultureInfo.CurrentCulture.CompareInfo;
  var index = compareinfo.IndexOf(strA, strB, CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreCase);
  return index &gt; -1;
  </code></pre>
  
  <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/359827/ignoring-accented-letters-in-string-comparison">Ignoring accented letters in string comparison</a>  </p>
  </blockquote>
  
  
  
  <p>I have a public Kiosk application where users use it to search for a place of interest. Say I have a shop name with the Café word. The kiosk only allows input of English alphabets through an on-screen keyboard. The problem is when I type in Cafe(without the accented é) the search is not valid because the user could not input the character é. I want the application to allow the normal e to be searchable to all accented e and likewise for all other respective characters. How can i do that?</p>
  
  <p>EDIT:
  the shop name is "Bruce Café" and i search for "cafe" and it should show in my search results. </p>
  
  <p>using</p>
  
  <pre><code>string.Compare("Bruce Café", "cafe", CultureInfo.CurrentCulture, CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace)
  </code></pre>
  
  <p>returns -1</p>
  
  <p>and </p>
  
  <pre><code>string.Compare("Ben-Gurion University (BGU)", "cafe", CultureInfo.CurrentCulture, CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace)
  </code></pre>
  
  <p>also returns -1</p>
  
  <p>which i don't know why is it so...</p>