Converting Unicode characters into the equivalent ASCII ones
问题 I need to "flatten out" a number of Unicode strings for the purposes of indexing and searching. For example, I need to convert GötheФ€ into ASCII. The last two characters have no close representations in ASCII so it's Ok to discard them completely. So what I expect from echo iconv("UTF-8", "ASCII//TRANSLIT//IGNORE", "GötheФ€"); is Gothe but instead it outputs Gothe?EUR . In addition to letters, I'd also like all the variety of Unicode numerals and punctuation marks, such as periods, commas,