Код: Выделить всё
[phpBB Debug] PHP Warning: in file [ROOT]/includes/utf/utf_tools.php on line 1845: htmlspecialchars(): Invalid multibyte sequence in argument
Код: Выделить всё
/**
* A wrapper for htmlspecialchars($value, ENT_COMPAT, 'UTF-8')
*/
function utf8_htmlspecialchars($value)
{
return htmlspecialchars($value, ENT_COMPAT, 'UTF-8');
}
/**
stepan83
PPK
Код: Выделить всё
return htmlspecialchars($value, ENT_COMPAT, 'UTF-8');
Код: Выделить всё
return htmlspecialchars($value, ENT_COMPAT|ENT_IGNORE, 'UTF-8');
stepan83