From 0be2589471d01ea8471a7bdb297fea98783db12f Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 26 Nov 2005 02:07:41 +0000 Subject: --- framework/Exceptions/TErrorHandler.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/Exceptions/TErrorHandler.php') diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 592ba615..8af92ecc 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -153,6 +153,7 @@ class TErrorHandler extends TComponent implements IModule $handling=true; if(($response=Prado::getApplication()->getResponse())!==null) $response->clear(); + header('Content-Type: text/html; charset=UTF-8'); if($param instanceof THttpException) $this->handleExternalError($param->getStatusCode(),$param); else if(Prado::getApplication()->getMode()==='Debug') -- cgit v1.2.3