summaryrefslogtreecommitdiff
path: root/program/steps/mail/search.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-22 16:20:34 +0000
committeralecpl <alec@alec.pl>2009-06-22 16:20:34 +0000
commitecb9fb058da8d0f5a8e59402c1c1ced21122cbc5 (patch)
tree9a8a3fb2aa33ffdae6616b73cbecc34cd9a19dbc /program/steps/mail/search.inc
parent11b80e9e33e84c90852a46a5be6d5ff414b37661 (diff)
- use RCMAIL_CHARSET instead of hardcoded 'utf-8'
Diffstat (limited to 'program/steps/mail/search.inc')
-rw-r--r--program/steps/mail/search.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index 8d24460bc..d62b128d3 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -21,8 +21,8 @@ $IMAP->set_search_set(NULL);
$_SESSION['page'] = 1;
// using encodeURI with javascript "should" give us
-// a correctly UTF-8 encoded query string
-$imap_charset = 'UTF-8';
+// a correctly encoded query string
+$imap_charset = RCMAIL_CHARSET;
// get search string
$str = get_input_value('_q', RCUBE_INPUT_GET);