summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/json.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/json.php')
-rw-r--r--modules/gallery/helpers/json.php2
1 files changed, 1 insertions, 1 deletions
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);
}