I am wondering how you can "translate" characters in UTF-8 to the nearest ASCII equivalent using Javascript, just like Iconv doest in PHP.
Example:
ΓΌ becomes u
- becomes o
I would prefer not to use a replacement, because a) it requires a full set of characters, which is a lot, and b) it would be difficult for me to get a full set of characters, and I will never be sure if I miss one or two.
javascript utf-8 ascii iconv
Simon
source share