[Users] [Bug 1535] imap full text search downloads all mail in folder

Colin Leroy colin at colino.net
Fri Nov 9 09:29:54 CET 2012


On Wed, 7 Nov 2012 17:04:08 +0400, Aleksei Miheev <aleksei at miheev.info>
wrote:

> Seems like it only works for ASCII (?) searches. At least, UTF8
> strings are not supported by some servers:
> 
> [16:57:10] IMAP4> 11939 UID SEARCH BODY "Привет" 
> [16:57:10] IMAP4< 11939 NO [BADCHARSET] Unsupported text encoding.
> sc=6LXwcq6uqe[... - 1 bytes more]
> 
> There is an optional CHARSET argument to SEARCH command, but i'm
> really not sure how it would behave on different servers with
> messages in different encodings.

Thanks, I added the CHARSET parameter. At least now either the server
is OK with UTF-8, either it has to tell so.

-- 
Colin



More information about the Users mailing list