summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-08 09:07:04 +0000
committeralecpl <alec@alec.pl>2008-05-08 09:07:04 +0000
commit583850d00cb61771333a19ed57bef753ac140fe0 (patch)
treea186a8e04e6bf8712b935bc06a5a048c719a4c5c /program/include/rcube_imap.php
parented5ed98bea879a801c11c66589395452b9b8087b (diff)
- Corrected message headers decoding when charset isn't specified and improved
support for native languages (#1485050, #1485048)
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 27169343d..9acb60b49 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -2361,7 +2361,7 @@ class rcube_imap
}
// no encoding information, use fallback
- return rcube_charset_convert($input, !empty($fallback) ? $fallback : 'ISO-8859-1');
+ return rcube_charset_convert($input, !empty($fallback) ? $fallback : $this->default_charset);
}