зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
ee7af6f699
Коммит
0e9bb809d1
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче