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

This commit is contained in:
masayuki%d-toybox.com 2005-11-03 14:13:20 +00:00
parent 8906db4282
commit db84bd093f

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)