diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index 3c841f6d..ccac4327 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -254,7 +254,8 @@ class ErrorHandler { $type = gettype($arg); $string .= $type . '('; if (is_string($arg)) { - $string .= print_r(substr($arg, 0, 20), true); + $param = iconv('UTF-8', 'UTF-8//IGNORE', substr($arg, 0, 20)); + $string .= print_r($param, true); } else { $string .= print_r($arg, true); }