PHP: Replace umlauts with closest 7-bit ASCII equivalent in an UTF-8 string

iconv("utf-8","ascii//TRANSLIT",$input);

Extended example

Leave a Comment