Please try again. It should work now, but please note that ü appears to
be encoded differently in different charsets (iso-8859-15 versus
iso-8859-1). This is (at the moment) not dealt with properly.

Jochen Schroer wrote:
> Hi,
> 
> I try to make a imap body-search with german-umlauts, specially the word
> "Kündigung", but the search failed and I get ALL messages in the mailbox
> back.
> (Search without german-umlaut works)
> 
> Here a log (Level 5) what happens:
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Info COMMAND: [19 uid
> SEARCH CHARSET ISO-8859-15 UNDELETED BODY {9}]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-imapsession.c,build_args_array_ext: last char = }
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-imapsession.c,build_args_array_ext: got extra line []
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug arg[0]: 'SEARCH'
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug arg[1]: 'CHARSET'
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug arg[2]: 'ISO-8859-15'
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug arg[3]: 'UNDELETED'
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug arg[4]: 'BODY'
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug arg[5]: 'Kündigung'
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Info
> imap4.c,IMAPClientHandler: Executing command uid...
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> db.c,db_acl_has_right: checking ACL [read_flag] for user [3] on mailbox [1]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug db.c,
> db_acl_has_right: mailbox [1] is owned by user [3], is that also [3]?
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug db.c,
> db_acl_has_right: mailbox [1] is owned by user [3], giving all rights
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbpgsql.c,db_query: executing query [SELECT message_idnr FROM
> dbmail_messages WHERE mailbox_idnr = '1' AND status IN ('0','1') ORDER
> BY message_idnr]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,append_search: [136478360] [1] type [0] field [] search
> [1:*] at depth [1]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,append_search: [135919736] [0] type [0] field [] search
> [] at depth [1]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,dbmail_mailbox_get_set: [1:*]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> misc.c,g_tree_merge: a[0] [OR] b[2687] -> a[2687]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,dbmail_mailbox_get_set: self->set contains [2687] ids
> between [2] and [5374]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,_do_search: [136478360] depth [1] type [0] rows [0]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,dbmail_mailbox_get_set: []
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,dbmail_mailbox_get_set: self->set contains [0] ids
> between [2] and [5374]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,_do_search: [135919736] depth [2] type [0] rows [0]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,_merge_search: [136478360] depth [1] type [0]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,_merge_search: [135919736] depth [2] type [0]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug
> dbmail-mailbox.c,dbmail_mailbox_search: found [2687] ids
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug RESPONSE: [*
> SEARCH 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46
> 48 50 52 54 56 58 60 62 6...]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Debug RESPONSE: [^M 19
> OK SEARCH completed^M ]
> Jul 12 11:43:24 localhost dbmail/imap4d[11372]: Info
> imap4.c,IMAPClientHandler: Finished command uid [0]
> 
> Kind regards,
> 
> Jochen
> 

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to