Is it possible? This is my input string:
? ? ? ? ? y á í é ? á ? Y
This is the output I want:
l s c t z y a i e C A Z Y
if you have http://php.net/manual/en/book.intl.php available, you can use this:
$string = "Fó? B?r"; $transliterator = Transliterator::createFromRules(':: Any-Latin; :: Latin-ASCII; :: NFD; :: [:Nonspacing Mark:] Remove; :: Lower(); :: NFC;', Transliterator::FORWARD); echo $normalized = $transliterator->transliterate($string);
1.4m articles
1.4m replys
5 comments
57.0k users