Aleksander Machniak
2015-06-28 8447bae77c19a2350bd48b0f0c5b3a56a35c7af9
program/lib/Roundcube/rcube_mime.php
@@ -567,7 +567,7 @@
        // Note: Never try to use iconv instead of mbstring functions here
        //       Iconv's substr/strlen are 100x slower (#1489113)
        if ($charset && $charset != RCUBE_CHARSET && function_exists('mb_internal_encoding')) {
        if ($charset && $charset != RCUBE_CHARSET) {
            mb_internal_encoding($charset);
        }
@@ -661,7 +661,7 @@
            }
        }
        if ($charset && $charset != RCUBE_CHARSET && function_exists('mb_internal_encoding')) {
        if ($charset && $charset != RCUBE_CHARSET) {
            mb_internal_encoding(RCUBE_CHARSET);
        }