diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-15 12:15:01 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-15 12:15:01 +0000 |
| commit | 1c3a1cf26f06580c901e283e596bf0e10ed193c7 (patch) | |
| tree | 42250d14904e62c644104c0de59f86350a63c7b7 /roundcubemail/program/include | |
| parent | 6dfbf56a7ffef253d4bd9ad87065470adf7e2e36 (diff) | |
- Fix: iconv doesn't support UTF7-IMAP
git-svn-id: https://svn.roundcube.net/trunk@3966 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index e3004d048..095862818 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/program/include/main.inc @@ -205,8 +205,8 @@ function rcube_charset_convert($str, $from, $to=NULL) if ($from == $to || empty($str) || empty($from)) return $str; - // convert charset using iconv module - if (function_exists('iconv') && $from != 'UTF-7' && $to != 'UTF-7') { + // convert charset using iconv module + if (function_exists('iconv') && $from != 'UTF7-IMAP' && $to != 'UTF7-IMAP') { if ($iconv_options === null) { // ignore characters not available in output charset $iconv_options = '//IGNORE'; |
