more utf-8 err checking prevents bogus terms in index
This commit is contained in:
@@ -540,8 +540,7 @@ void MimeHandlerMail::walkmime(Binc::MimePart* doc, int depth)
|
||||
!stringlowercmp("x-user-defined", charset) ||
|
||||
!stringlowercmp("x-unknown", charset) ||
|
||||
!stringlowercmp("unknown", charset) ) {
|
||||
m_config->getConfParam("maildefcharset", charset);
|
||||
if (charset.empty())
|
||||
if (!m_config->getConfParam("maildefcharset", charset))
|
||||
charset = "CP1252";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user