Bug 121825

Summary: display of multipart messages with different encodings looks broken in kde 3.5.1
Product: [Applications] kmail Reporter: Ričardas Čepas <rch>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Attachments: incorrect display of utf-8 message
multipart text message with different encodings

Description Ričardas Čepas 2006-02-12 12:01:35 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    FreeBSD Ports
OS:                FreeBSD

When a messages has two text/plain parts with different charset parameter, it doesn't get charset of the first part right and shows gibberish.

This doesn't happen every time I start KMail.  Maybe every second time, but it makes kmail unusable as mail reader.

View->Encoding is set to Auto.

Screenshot of wrong display and sample message are attached.
Comment 1 Ričardas Čepas 2006-02-12 12:03:26 UTC
Created attachment 14652 [details]
incorrect display of utf-8 message

note utf-8 sequences for a single character are displayed as 2 characters.
Comment 2 Ričardas Čepas 2006-02-12 12:04:23 UTC
Created attachment 14653 [details]
multipart text message with different encodings
Comment 3 Thiago Macieira 2006-02-13 19:37:16 UTC
I receive that kind of email quite often and I've never seen such a problem.
Comment 4 Ričardas Čepas 2006-02-13 19:58:37 UTC
update: if you select View->Set Encoding and some encoding, than again View->Set Encoding->Auto, it goes to normal display.  If you restart KMail, it gets wrong again.
Comment 5 Laurent Montel 2015-04-12 10:19:32 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.