Summary: | [PATCH] MultiPart message plain/text body encoding patch | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | stanv <stanv> |
Component: | mime | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mih_val |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
stanv
2007-04-28 09:40:09 UTC
Thanks for the patch. The KMail developers are not monitoring the bug system very closely, so they will probably not see your patch here. Please contact the KDE PIM team at the kde-pim mailinglist or the #kontact IRC channel to get your patch reviewed & commited. *** Bug 97663 has been marked as a duplicate of this bug. *** SVN commit 660183 by winterz: fix for "MultiPart message plain/text body encoding" bug Patch provided by stanv. Thanks! BUGS: 144779 M +2 -1 messagecomposer.cpp --- branches/KDE/3.5/kdepim/kmail/messagecomposer.cpp #660182:660183 @@ -1593,7 +1593,7 @@ mPerformingSignOperation = true; // this lets the KMComposeWin know if it is safe to close the window. pgpSignedMsg( mEncodedBody, format ); mPerformingSignOperation = false; - + if ( mSignature.isEmpty() ) { kdDebug() << "signature was empty" << endl; mRc = false; @@ -2049,6 +2049,7 @@ kdDebug(5006) << "Something is wrong and I can not get a codec." << endl; textbody = text.local8Bit(); } else { + text = codec->toUnicode( text.latin1(), text.length() ); textbody = codec->fromUnicode( text ); } if (textbody.isNull()) textbody = ""; |