if ($content === mb_convert_encoding(mb_convert_encoding($content, "UTF-32", "UTF-8"), "UTF-8", "UTF-32")) { $content = utf8_encode($content); } else { }Hier gefunden: http://us3.php.net/manual/en/function.mb-detect-encoding.php#68893
String auf UTF-8 überprüfen
Veröffentlicht unter TYPO3 Technik