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
Post a Comment