From 6649b1f0a5db6160d197a13ca79cfd67fbb02d77 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Sat, 23 Sep 2006 19:37:29 -0400 Subject: [PATCH] added TinyMCE spellchecker plugin, configured to use GoogleSpell --- program/steps/mail/search.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc index 517ef30..e1690ee 100644 --- a/program/steps/mail/search.inc +++ b/program/steps/mail/search.inc @@ -19,9 +19,9 @@ $IMAP->set_page(1); $_SESSION['page'] = 1; -// search query comes in with ISO encoding because javascript escape() -// uses ISO-8859-1. Better handling for that will follow. -$imap_charset = 'ISO-8859-1'; +// using encodeURI with javascript "should" give us +// a correctly UTF-8 encoded query string +$imap_charset = 'UTF-8'; // get search string $str = get_input_value('_search', RCUBE_INPUT_GET); -- Gitblit v1.9.1