[TYPO3-50-general] corrupted chars in DebugExceptionHandler
Steffen Kamper
info at sk-typo3.de
Sun Oct 11 15:47:13 CEST 2009
Hi,
as we use a backported error- and exceptionhandler in v4, i stumbled
about corrupted chars in DebugExceptionHandler::getBacktraceCode
$preparedArgument = (strlen($argument) < 80) ? $argument :
substr($argument, 0, 40) . '…' . substr($argument, -40);
$preparedArgument = htmlspecialchars($preparedArgument);
$preparedArgument = str_replace("\n", '<span
style="color:white;">�</span>', $preparedArgument);
$arguments .= '"<span style="color:#FF8700;">' . $preparedArgument .
'</span>"';
It's corrupted in FLOW3 as well.
Any suggestion for correcting?
vg Steffen
More information about the TYPO3-project-5_0-general
mailing list