convert_cyr_string

Convert from one Cyrillic character set to another

&reftitle.description; `string` `convert_cyr_string` `string` `str` `string` `from` `string` `to`

Converts from one Cyrillic character set to another.

&reftitle.parameters;

`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:

- k - koi8-r

- w - windows-1251

- i - iso8859-5

- a - x-cp866

- d - x-cp866

- m - x-mac-cyrillic

&reftitle.returnvalues;

Returns the converted string.

&reftitle.notes; ¬e.bin-safe;