Convert a string from one character-set to another:
The convert_cyr_string() function converts a string from one Cyrillic character-set to another.
The supported Cyrillic character-sets are:
Note: This function is binary-safe.
| Parameter | Description |
|---|---|
| string | Required. The string to convert |
| from | Required. A character that specifies what Cyrillic character-set to convert from |
| to | Required. A character that specifies what Cyrillic character-set to convert to |
| Return Value: | Returns the converted string |
|---|---|
| PHP Version: | 4+ |
Complete PHP String Reference
Your message has been sent to W3Schools.