Strings
PHP Manual

convert_cyr_string

(PHP 4, PHP 5)

convert_cyr_string — Convert from one Cyrillic character set to another

說明

string convert_cyr_string ( string $str , string $from , string $to )

Converts from one Cyrillic character set to another.

參數

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 characters are:

Return值

Returns the converted string.

註釋

Note: 本函式可安全用於二進位對象。


Strings
PHP Manual