diff options
author | thomascube <thomas@roundcube.net> | 2008-03-21 11:45:46 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-03-21 11:45:46 +0000 |
commit | 17b5fb797f4bc142fee8cd72ade3890b4dfdbd82 (patch) | |
tree | acdaaf60ca4ed2f24f64ba5d8d46ff2233f6eb7a /program/include/main.inc | |
parent | 9814721e8ddee4e26cc58cd47301e5d741048a22 (diff) |
Add configurable default charset for message decoding
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 247cdf1a9..e2005e7f9 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -290,6 +290,9 @@ function rcmail_imap_init($connect=FALSE) function rcmail_set_imap_prop() { global $CONFIG, $IMAP; + + if (!empty($CONFIG['default_charset'])) + $IMAP->set_charset($CONFIG['default_charset']); // set root dir from config if (!empty($CONFIG['imap_root'])) |