[horde] imap search: missing CHARSET UTF-8 string

Stephan Lauffer lauffer at ph-freiburg.de
Thu Apr 3 08:32:03 UTC 2014


Hello!

We noticed different imap search commands on different horde  
webgroupware installations here. One of them is adding the "CHARSET  
UTF-8" entry into the imap search (f.e..: "<1396253172<5 UID SEARCH  
RETURN (ALL COUNT) CHARSET UTF-8 SUBJECT {8+}") but another  
installation didn't.

Both of them are running on the same distribution, same version of  
cyrus imapd 2.4.17 and the test script detects a working utf8 support.  
The one system whithout the utf8 string fails on searches with german  
umlauts and so on...

Meanwhile we hardcoded the charset string into  
./pear/php/Horde/Imap/Client/Socket.php (round about line 2291) and  
removed the ...if ($charset != 'US-ASCII') {....}.

Can somebody give me some hints about the charset detection here? I  
don't know what caused $charset to be 'US-ASCII'...

Thank you!
-- 

Liebe Gruesse, with best regards
Stephan Lauffer

Pedagogical University Freiburg - Germany
http://www.ph-freiburg.de/zik/
Fon/ Fax: +49 761 682 -559/ -486
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5482 bytes
Desc: S/MIME-Signatur
URL: <http://lists.horde.org/archives/horde/attachments/20140403/cf55463a/attachment-0001.bin>


More information about the horde mailing list