title: Convert a string to a 'InvariantCulture'
body: <p>I have the following string</p>
  
  <pre><code>an-ca
  an-ca
  </code></pre>
  
  <p>If you will look it closely you will see that they are different!</p>
  
  <p>To compare 2 string like this I found this solution:</p>
  
  <pre><code>if (String.Compare(str1, str2, StringComparison.InvariantCulture) == 0) ...
  </code></pre>
  
  <p>So I have 2 questions</p>
  
  <ol>
  <li><p>Way W3C did characters so are the same in different languages - so make problems of comparision</p></li>
  <li><p>How in C# I can convert the string to 'InvariantCulture'</p></li>
  </ol>
  
  <p>EDIT:</p>
  
  <p>This <a href="http://docs.oracle.com/cd/B10501_01/server.920/a96529/ch10.htm" rel="nofollow">link</a> may explain the problem better</p>
  
  <p>Thanks in advance</p>