Which method of transliteration is true to convert cyrillic letters to latin letters?
Like writing russian names using english alphabet.
There are many methods of conversion, searching for one that is used on television or other mass media.
Thanks.
Which method of transliteration is true to convert cyrillic letters to latin letters?
Like writing russian names using english alphabet.
There are many methods of conversion, searching for one that is used on television or other mass media.
Thanks.
Take a look at this
mb_convert_encoding($text, 'UTF-8', $encoding);
I assume you are looking for "transliteration", the conversion of text in foreign scripts to latin script, represented to "sound" the same way.
See this question: http://stackoverflow.com/questions/1284535/php-transliteration
You can take this http://drupal.org/project/transliteration and make it suit your project. This is one of the best implementations of transliteration.
Also you can transliterate using iconv:
echo 'TRANSLIT : ', iconv("UTF-8", "ISO-8859-1//TRANSLIT", $text), PHP_EOL;