summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/bc.php1
-rw-r--r--program/include/rcmail.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/program/include/bc.php b/program/include/bc.php
index 8a3d4f918..4c8f8a4cf 100644
--- a/program/include/bc.php
+++ b/program/include/bc.php
@@ -32,6 +32,7 @@ define('RCUBE_INPUT_POST', rcube_utils::INPUT_POST);
define('RCUBE_INPUT_GPC', rcube_utils::INPUT_GPC);
define('JS_OBJECT_NAME', rcmail::JS_OBJECT_NAME);
+define('RCMAIL_CHARSET', RCUBE_CHARSET);
function get_table_name($table)
{
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 72c2fd944..cdafc5e7b 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -345,7 +345,7 @@ class rcmail extends rcube
$this->output->set_env('task', $this->task);
$this->output->set_env('action', $this->action);
$this->output->set_env('comm_path', $this->comm_path);
- $this->output->set_charset(RCMAIL_CHARSET);
+ $this->output->set_charset(RCUBE_CHARSET);
// add some basic labels to client
$this->output->add_label('loading', 'servererror', 'requesttimedout', 'refreshing');