Name

convert_cyr_string

Synopsis

string convert_cyr_string(string value, string from, string to)

Converts value from one Cyrillic set to another. The from and to parameters are single-character strings representing the set and have the following valid values:

k

koi8-r

w

Windows-1251

i

ISO 8859-5

a or d

x-cp866

m

x-mac-cyrillic

Get Programming PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.