- mb_convert_encoding: documentation ( source)
- mb_list_encodings: documentation ( source)
<?php
$str = "Weiß, Goldmann, Göbel, Weiss, Göthe, Goethe und Götz";
foreach(mb_list_encodings() as $chr){
echo mb_convert_encoding($str, 'UTF-8', $chr)." : ".$chr."\n";
}