Javatpoint Logo
Javatpoint Logo

PHP convert_cyr_string() Function

PHP convert_cry_string() function is used to convert from one Cyrillic character-set to another.

Syntax:

Parameter Description Required/Optional
String String to convert Required
from Specify the Cyrillic character-set to convert. Required
to Specify the Cyrillic character-set to convert. Required

The supported Cyrillic character-sets are;

  • k - koi8-r
  • w - windows-1251
  • i - iso8859-5
  • a - x-cp866
  • d - x-cp866
  • m - x-mac-cyrillic

Note: This function is binary-safe.

Example 1

Output:

Your String is :Hello Javatpoint! ???
By using 'convert_cyr_string()' Function : Hello Javatpoint! ?.?.?.

Next TopicPHP String




Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA