3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Weiß, Goldmann, Göbel, Weiss, Göthe, Goethe und Götz"; var_dump(mb_convert_encoding($str, "ASCII"));
based on ErNAU
Output for 5.6.7 - 7.1.0
string(52) "Wei?, Goldmann, G?bel, Weiss, G?the, Goethe und G?tz"
Output for 4.3.0 - 5.5.35
string(56) "Wei??, Goldmann, G??bel, Weiss, G??the, Goethe und G??tz"