summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index ab11911b2..307a880fb 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -629,7 +629,7 @@ function rcube_remote_response($js_code, $flush=FALSE)
}
// send response code
- print $js_code;
+ print rcube_charset_convert($js_code, 'UTF-8', $GLOBALS['CHARSET']);
if ($flush) // flush the output buffer
flush();