From f88d417c96119b8e50297b930b14fe6ff9a1c5ed Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 19 Feb 2006 13:34:34 -0500 Subject: [PATCH] Applied several patches --- program/include/rcube_shared.inc | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index fb200de..79428fa 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -85,7 +85,15 @@ function set_charset($charset) { + global $MBSTRING; $this->charset = $charset; + if ($MBSTRING&&function_exists( "mb_internal_encoding")) + { + if(!@mb_internal_encoding( $charset)) + { + $MBSTRING = FALSE; + } + } } function get_charset() @@ -1386,4 +1394,4 @@ } -?> \ No newline at end of file +?> -- Gitblit v1.9.1