diff Lib/IMPL/Web/Handler/ErrorHandler.pm @ 208:3d433a977e3b

corrected RestController for empty PAT_INFO corrected charset for ErrorHandler
author sergey
date Fri, 18 May 2012 18:43:00 +0400
parents c8fe3f84feba
children d6e2ea24af08
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/ErrorHandler.pm	Fri May 04 02:09:13 2012 +0400
+++ b/Lib/IMPL/Web/Handler/ErrorHandler.pm	Fri May 18 18:43:00 2012 +0400
@@ -43,6 +43,7 @@
 	
 	if (my $err = $@) {
 		$action->ReinitResponse();
+		$action->response->charset('utf-8');
 		$action->response->contentType($this->contentType);
 		
 		my $vars = {