mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-04 16:15:25 +00:00
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:
parent
8906db4282
commit
db84bd093f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user