convert_cyr_string 


string apg

CONVERT from one Cyrillic character set to another.





This function has been DEPRECATED as of PHP 7.4.0.
Relying on this function is highly discouraged.




<?php

str convert_cyr_string 
str $str str $from str $to )


where,

$str The STRING to be converted

$from 
The source Cyrillic character set, as a single character

$to 
The target Cyrillic character set, as a single character

?>
 

$str


The STRING to be converted.



$from


The source Cyrillic character set, as a single character.



$to


The target Cyrillic character set, as a single character.



SUPPORTED CHARACTER SETS

SET LANGUAGES
k - koi8-r Russian, Bulgarian
w - windows-1251 English, Russian, Ukrainian, Belarusian, Bulgarian, Serbian Cyrillic, Macedonian
i - iso8859-5 Russian, Bulgarian, Belarusian, Macedonian, Serbian, Ukrainian (partial)
a - x-cp866 Russian
d - x-cp866 Russian
m - x-mac-cyrillic Russian, Bulgarian, Belarusian, Macedonian, Serbian (in Cyrillic script) Euro update: Ukrainian
ed48