Bitrix Site Manager

utf8win1251

string
utf8win1251(
  string text
)

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

Parameters

ParameterDescription
text Source string.

Example



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