summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-08-01 08:57:22 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-08-01 08:57:22 -0700
commitcd50fde5dea97f10d8eb62e0e2058846ce9abdfe (patch)
tree4ecedf643d8bc4937f2e146c66dd5e1a5e7e80c2 /modules
parenta4531707274318496bb7a4477d940030d870f133 (diff)
Specify the charset on the content type header
Diffstat (limited to 'modules')
-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);
}