diff options
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 79428fa16..da5665199 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -86,13 +86,13 @@ class rcube_html_page function set_charset($charset) { global $MBSTRING; + $this->charset = $charset; - if ($MBSTRING&&function_exists( "mb_internal_encoding")) + + if ($MBSTRING && function_exists("mb_internal_encoding")) { - if(!@mb_internal_encoding( $charset)) - { + if(!@mb_internal_encoding($charset)) $MBSTRING = FALSE; - } } } |