I need to compare 2 strings in C# and treat accented letters the same as non-accented letters. For example:
string s1 = \"hello\"; string s2 = \"héllo\"; s1
A more simple way to remove accents:
Dim source As String = "áéíóúç" Dim result As String Dim bytes As Byte() = Encoding.GetEncoding("Cyrillic").GetBytes(source) result = Encoding.ASCII.GetString(bytes)