CVS commit by lukas: backport CVS commit by tilladam: Use the right codec instead of latin1 when showing the source of mails. (fixes #70343 and a couple of dupes) M +3 -1 kmcommands.cpp 1.99.2.6 --- kdepim/kmail/kmcommands.cpp #1.99.2.5:1.99.2.6 @@ -553,5 +553,7 @@ void KMShowMsgSrcCommand::execute() { KMMessage *msg = retrievedMessage(); - QString str = QString::fromLatin1( msg->asString() ); + QString str = QTextCodec::codecForName( msg->charset().isEmpty() ? + QCString( kmkernel->networkCodec()->mimeName() ) : + msg->charset() )->toUnicode( msg->asString() ); MailSourceViewer *viewer = new MailSourceViewer(); // deletes itself upon close