[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 56570] kmail doesn't show non-mime Japanese message
From: Ingo "Klöcker" <ingo.kloecker () epost ! de>
Date: 2003-03-31 22:00:03
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=56570
ingo.kloecker@epost.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From ingo.kloecker@epost.de 2003-03-31 23:59 \
-------
Subject: kdepim/kmail
CVS commit by kloecker:
Fix bug 56570: kmail doesn't show non-mime Japanese message
Default to local encoding if no charset is specified for a message part. \
Patch by Toyohiro Asukai <toyohiro@ksmplus.com>
CCMAIL: 56570-fixed@bugs.kde.org
M +4 -1 kmmsgpart.cpp 1.99
--- kdepim/kmail/kmmsgpart.cpp #1.98:1.99
@@ -9,4 +9,5 @@
#include "kmmsgpart.h"
#include "kmmessage.h"
+#include "kmkernel.h"
#include <kmime_charfreq.h>
@@ -72,5 +73,7 @@ const QTextCodec * KMMessagePart::codec(
const QTextCodec * c = KMMessage::codecForName( charset() );
if ( !c )
- c = QTextCodec::codecForName("iso-8859-1");
+ // no charset means us-ascii (RFC 2045), so using local encoding \
should + // be okay
+ c = kernel->networkCodec();
assert( c );
return c;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic