Duplicate 249087
I have a bunch of user-generated addresses that may contain diacritical characters. What is the most efficient (i.e. General) way (besides a simple replacement) for automatically converting any such characters to their nearest English equivalent?
eg. any of the àâãäå will become a
æ will become two separate letters ae
ç becomes c
any of èéêë becomes e
etc .. for all possible variations of letters (preferably without the need for searching and coding searches for each diacritical form of writing).
(Note: I must pass these addresses to third-party software that cannot print anything other than English characters. I would prefer the software to be able to process them, but I cannot control this.)
EDIT: Nothing ... Find the answer [here] [2]. He appeared in the “Related” section to the right of the question after I posted, but not in my previous search or sentence. Hm. I added the diacritics tag to another question anyway.
EDIT 2: God! Who voted for it -1 after I closed it?
string c # diacritics
Andrew rollings
source share