I would like to convert accented letters and various encodings into the plain English ASCII one in Javascript and wonder what are the possible options. What I need is that:
éclair ~becomes~ eclair
bär ~becomes~ bar
привет ~becomes~ privet
こんにちは ~becomes~ konnichiva
As you can see the idea is that any language gets converted into the plain English ASCII equivalent. The áčçéñtèd letters are converted into their plain equivalents, letters in cyrillic or japanese encoding are converted into into their transliterated equivalent.
Anyone knows an approach to do that in Javascript?