Transliteration
transliterator_transliterate( "Any-Latin; Latin-ASCII; [\u0100-\u7fff] remove; Lower()", $text);
Links
- transliterator_transliterate -- Intl Transliterator class
- ICU Transliteration -- International Components for Unicode
Implementation
static function translit($string) { return transliterator_transliterate( "Any-Latin; Latin-ASCII; [\u0100-\u7fff] remove; Lower()", $string); }
$name = Ut::translit($name);