Documentation

utf8win1251

string
utf8win1251(
  string text
);

The function converts a string from UTF-8 to Windows 1251.

Function parameters

ParameterDescription
text Source string.

Examples of use

<?
echo utf8win1251("битрикс");
// prints the string "bitrix"
?>


© «Bitrix24», 2001-2024
Up