From abb7450380a14763c215849e05d5491816eee243 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 06 Mar 2009 15:58:32 -0500
Subject: [PATCH] - use US-ASCII as failover also for SORT command (when used for searching)

---
 program/include/rcube_imap.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index dbae4e8..637e25b 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -978,7 +978,7 @@
 	else // strings for conversion not found
 	  $res = $str;
 	  
-	$results = $this->search($mbox_name, $res, '', $sort_field);
+	$results = $this->search($mbox_name, $res, 'US-ASCII', $sort_field);
       }
 
     $this->set_search_set($str, $results, $charset, $sort_field);

--
Gitblit v1.9.1