Convert Non-Standard ASCII Characters
Posted on 2006-05-02
Is there any method available in C# that will convert any non-standard ASCII characters (characters > binary 128) into its equivalent standard ASCII characters. Basically, I need to replace any 'ñ' in my string to 'n', 'á' into 'a', 'ú' into 'u', and others. Aside from calling the String.Replace method, is there any other way without listing down/hard-coding all the non-standard ASCII characters with the corresponding replacement standard ASCII character.
Thanks for the help in advance.