title: Matching extended ASCII characters in .NET Regex
body: <p>I'm writing a .NET regular expression that needs to match all ASCII and extended ASCII characters except for control characters. </p>
  
  <p>To do this, I consulted the ASCII table and it seems that all these characters have an ASCII encoding of x20 to xFF.</p>
  
  <p>So I suppose </p>
  
  <blockquote>
    <p>[\x20-\xFF]</p>
  </blockquote>
  
  <p>should be able to match all the characters that I need. However, in reality, some characters can be matched, while others cannot. For example, if you test with the online tool <a href="http://regexhero.net/tester/" rel="nofollow noreferrer">http://regexhero.net/tester/</a>, or write a simple C# program, you will find that some characters such as "ç" (xE7) can be matched, but some characters such as "œ" (x9C) cannot.</p>
  
  <p>Does anyone have any idea why the regex does not work?</p>