Bug 314637 Search Messages can't find some words in ISO-2022-JP messages. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=jshin, sr=bienvenu, a=jay

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@193641 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
masayuki%d-toybox.com
2006-04-05 23:07:33 +00:00
parent 3b22dedf14
commit 7b8c6aa0ff

View File

@@ -820,9 +820,9 @@ nsresult nsMsgSearchTerm::MatchBody (nsIMsgSearchScopeTerm *scope, PRUint32 offs
// since we don't have a MIME parser handy, and we want to err on the
// side of too many hits rather than not enough, we'll assume in that
// general direction. Blech. ### FIX ME
// bug fix #88935: for stateful csids like JIS, we don't want to decode
// quoted printable since it contains '='.
PRBool isQuotedPrintable = /*!(mail_csid & STATEFUL) && */
// bug fix #314637: for stateful charsets like ISO-2022-JP, we don't
// want to decode quoted printable since it contains '='.
PRBool isQuotedPrintable = !nsMsgI18Nstateful_charset(folderCharset) &&
(PL_strchr (m_value.string, '=') == nsnull);
while (!endOfFile && result == boolContinueLoop)