From 2a20b04f5ee43d5cfc9a07988871096dd41c6adf Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 16 Jan 2006 18:19:44 -0500
Subject: [PATCH] Added charset conversion in rcube_remote_response()

---
 program/include/main.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/main.inc b/program/include/main.inc
index ab11911..307a880 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -629,7 +629,7 @@
     }
 
   // send response code
-  print $js_code;
+  print rcube_charset_convert($js_code, 'UTF-8', $GLOBALS['CHARSET']);
 
   if ($flush)  // flush the output buffer
     flush();

--
Gitblit v1.9.1