Summary: | Tools -> Find Messages... can't find Arabic text if it's in the body but works properly if it's in the subject | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Munzir Taha <munzirtaha> |
Component: | search | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ddv |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Munzir Taha
2004-04-18 05:13:26 UTC
CVS commit by tilladam: Use KMMessage::bodyToUnicode() instead of KMMessage::bodyDecoded() which, unlike KMMsgPart::bodyDecoded() does content transfer decoding and not charset/codec decoding This fixes searching in non-latin1 mail bodies for those mails, at least, which don't claim they have quotedprintable and are in reality 7/8 bit. Muunzir, thanks for the bug report, can you confirm this fixes it? CCMAIL: 79860-done@bugs.kde.org M +1 -1 kmsearchpattern.cpp 1.68 --- kdepim/kmail/kmsearchpattern.cpp #1.67:1.68 @@ -295,5 +295,5 @@ bool KMSearchRuleString::matches( const logContents = false; } else if ( field() == "<body>" ) { - msgContents = msg->bodyDecoded(); + msgContents = msg->bodyToUnicode(); logContents = false; } else if ( field() == "<any header>" ) { I am sorry I can't test now. Any one else? Thanks a lot for fixing this annoying bug. i can try to test it but i don't know how to try it if anyone can show me how to apply the fix or install it i can try to try it and give feedback *** Bug 80633 has been marked as a duplicate of this bug. *** Search of the Cyrillic text works properly now in headers and in message body. My thanks to Till Adam! :-) |