[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdepim/kmail
From: Allen Winter <winter () kde ! org>
Date: 2007-05-01 21:16:35
Message-ID: 1178054195.530760.4594.nullmailer () svn ! kde ! org
[Download RAW message or body]
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 = "";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic