ALT Linux Bugzilla
– Attachment 2066 Details for
Bug 12118
Через IMAP не работает поиск не-latin символов по всем письмам
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Указание кодировки в SEARCH
kdepim-kmail-searchjob.patch (text/plain), 886 bytes, created by
Vitaly Lipatov
on 2007-06-29 17:30:08 MSD
(
hide
)
Description:
Указание кодировки в SEARCH
Filename:
MIME Type:
Creator:
Vitaly Lipatov
Created:
2007-06-29 17:30:08 MSD
Size:
886 bytes
patch
obsolete
>Set search charset > >--- kmail/searchjob.cpp.orig 2007-05-14 11:54:39 +0400 >+++ kmail/searchjob.cpp 2007-06-28 17:10:11 +0400 >@@ -110,15 +110,16 @@ > bool accept = true; > QString result; > QString field = (*it)->field(); >+ result = "CHARSET UTF-8 "; > // check if the operation is supported > if ( (*it)->function() == KMSearchRule::FuncContainsNot ) { >- result = "NOT "; >+ result += "NOT "; > } else if ( (*it)->function() == KMSearchRule::FuncIsGreater && > (*it)->field() == "<size>" ) { >- result = "LARGER "; >+ result += "LARGER "; > } else if ( (*it)->function() == KMSearchRule::FuncIsLess && > (*it)->field() == "<size>" ) { >- result = "SMALLER "; >+ result += "SMALLER "; > } else if ( (*it)->function() != KMSearchRule::FuncContains ) { > // can't be handled by imap > accept = false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12118
: 2066