• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/api/executer.php
  • Класс: BitrixSaleTradingPlatformVkApiExecuter
  • Вызов: Executer::decodeMultibyteUnicode
private function decodeMultibyteUnicode($str)
{
	$str = preg_replace_callback('/\\u(w{4})/', function ($matches)
	{
		return html_entity_decode('&#x' . $matches[1] . ';', null, 'UTF-8');
	}, $str);

	return $str;
}