summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index 5450f07e7..30e6eb8d2 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -55,7 +55,7 @@ class rcube_imap
var $default_folders = array('inbox', 'drafts', 'sent', 'junk', 'trash');
var $cache = array();
var $cache_keys = array();
- var $cache_changes = array();
+ var $cache_changes = array();
var $uid_id_map = array();
var $msg_headers = array();
var $capabilities = array();
@@ -856,7 +856,7 @@ class rcube_imap
$mailbox = $mbox ? $this->_mod_mailbox($mbox) : $this->mailbox;
if ($str && $criteria)
{
- $criteria .= " \"$str\"";
+ $criteria .= ' CHARSET UTF-8 "'.UTF7EncodeString($str).'"';
return $this->_search_index($mailbox, $criteria);
}
else