It is pretty simple in .NET to convert Western Unicode (non-ASCII, accented, diacritics) to ASCII, but regardless I had a hard time figuring it out it so I’m posting here for my own future reference.
Dim strTest as String = "Any string containing accented characters, e.g. åäöéèêÅÄÖÉÈÊ"
strTest = System.Text.Encoding.ASCII.GetString(System.Text.Encoding.GetEncoding(1251).GetBytes(strTest))
Thanks a lot!
On publishing this you really gave me a big help.
You gave me solution in short time. thanks