diff options
author | thomascube <thomas@roundcube.net> | 2006-02-20 23:29:14 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-02-20 23:29:14 +0000 |
commit | 13c1afbcbbc71c64f41eb7d764917bb4fea9893f (patch) | |
tree | cea2711d376826e1ab7bb8829ab47e4a81fef7ba /program/include/rcube_shared.inc | |
parent | e687ff825dcd93cd8c007420d225917033605252 (diff) |
Fixed some charset bugs
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; - } } } |