string convert_cyr_string(string $str string $source, string $target)
(PHP 4, PHP 5)
| $str | The string value to be converted |
|---|---|
| $source | The Cyrillic character set to be used as a source (single character) |
| $target | The Cyrillic character set to be used as the target (single character). |
| RETURNS | Returns the converted Cyrillic character string. |
Cyrillic Character Code (for $source and $target)
Performs a binary-safe conversion of a text string from one Cyrillic encoding to another (different) Cyrillic encoding.
echo convert_cyr_string($input, 'w', 'm');