fix mapi blind send of accented chars, fix suggested by jshin@mailaps.org, r/sr=bienvenu 250455

This commit is contained in:
bienvenu%nventure.com 2004-07-17 19:08:48 +00:00
parent 45c8de80a6
commit f9c2689dac

View File

@ -881,7 +881,7 @@ nsresult nsMsgCompose::_SendMsg(MSG_DeliverMode deliverMode, nsIMsgIdentity *ide
// Apply entity conversion then convert to a mail charset.
PRBool isAsciiOnly;
rv = nsMsgI18NSaveAsCharset(attachment1_type, m_compFields->GetCharacterSet(),
NS_ConvertASCIItoUCS2(bodyString).get(), &outCString,
NS_ConvertUTF8toUTF16(bodyString).get(), &outCString,
nsnull, &isAsciiOnly);
if (NS_SUCCEEDED(rv))
{