string - In C#, how can I detect if a character is a non-ASCII character? -


i check, in c#, if char contains non-ascii character. best way check special characters such or Ω?

ascii ranges 0 - 127, check range:

char c = 'a';//or whatever char have bool isascii = c < 128; 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -