[Bug 144779] [PATCH] MultiPart message plain/text body encoding patch

Allen Winter winter at kde.org
Tue May 1 22:17:25 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=144779         
winter kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From winter kde org  2007-05-01 23:17 -------
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 = "";



More information about the Kdepim-bugs mailing list