From cd50fde5dea97f10d8eb62e0e2058846ce9abdfe Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 1 Aug 2010 08:57:22 -0700 Subject: Specify the charset on the content type header --- modules/gallery/helpers/json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gallery/helpers/json.php') diff --git a/modules/gallery/helpers/json.php b/modules/gallery/helpers/json.php index 5fcdc268..bbd835e9 100644 --- a/modules/gallery/helpers/json.php +++ b/modules/gallery/helpers/json.php @@ -27,7 +27,7 @@ class json_Core { */ static function reply($message) { if (!headers_sent()) { - header("Content-Type: application/json"); + header("Content-Type: application/json; charset=" . Kohana::CHARSET); } print json_encode($message); } -- cgit v1.2.3