bug 229399 : RFC 2047 Subject and From header fields are misinterpreted if charset used for the header is different from charset used for the message body : r=bienvenu, sr=mscott

This commit is contained in:
jshin%mailaps.org 2005-04-01 05:25:05 +00:00
Родитель ee7af6f699
Коммит 0e9bb809d1
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1509,8 +1509,12 @@ nsresult nsMsgCompose::CreateMessage(const char * originalMsgURI,
if (!mailCharset.IsEmpty())
{
charset = mailCharset;
charsetOverride = PR_TRUE;
charsetOverride = mCharsetOverride;
}
#ifdef DEBUG_jungshik
printf ("charset=%s\n", charset.get());
printf ("charsetOverride=%d\n", charsetOverride);
#endif
// although the charset in which to _send_ the message might change,
// the original message will be parsed for quoting using the charset it is