CONVERT_CYR_STRING(3) 1 CONVERT_CYR_STRING(3)
convert_cyr_string - Convert from one Cyrillic character set to another
SYNOPSIS
string convert_cyr_string (string $str, string $from, string $to)
DESCRIPTION
Converts from one Cyrillic character set to another.
PARAMETERS
o $str
- The string to be converted.
o $from
- The source Cyrillic character set, as a single character.
o $to
- The target Cyrillic character set, as a single character.
Supported characters are:
o k - koi8-r
o w - windows-1251
o i - iso8859-5
o a - x-cp866
o d - x-cp866
o m - x-mac-cyrillic
RETURN VALUES
Returns the converted string.
NOTES
Note
This function is binary-safe.
PHP Documentation Group CONVERT_CYR_STRING(3)