diff --git a/common/framework/debug.php b/common/framework/debug.php index 9530a419f..b908c85ba 100644 --- a/common/framework/debug.php +++ b/common/framework/debug.php @@ -667,11 +667,13 @@ class Debug header('HTTP/1.1 500 Internal Server Error'); if ($_SERVER['REQUEST_METHOD'] === 'GET' || !isset($_SERVER['HTTP_X_REQUESTED_WITH'])) { + header('Content-Type: text/html; charset=UTF-8'); echo sprintf('