Convert non-ASCII (german, french ...) to ASCII (english) with PHP (iconv)

Filename Sanitizer / Normalizer : 

<?php

$str = "Text mit Ä Ö Ü ß é á ú î é ú í ó á ý ";
echo iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $str);

// Text mit A O U ss e a u i e u i o a y 

?>

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare