Easy Tutorial
❮ Func Mail Mail Func Simplexml Addchild ❯

PHP convert_cyr_string() Function

PHP String Reference Manual

Example

Convert a string from one character set to another:


Definition and Usage

The convert_cyr_string() function converts a string from one Cyrillic character set to another.

Supported Cyrillic character sets are:

Note: This function is binary-safe.


Syntax

Parameter Description
string Required. Specifies the string to convert.
from Required. A character that specifies the source Cyrillic character set.
to Required. A character that specifies the target Cyrillic character set.

Technical Details

Return Value: Returns the converted string.
PHP Version: 4+
--- ---
❮ Func Mail Mail Func Simplexml Addchild ❯