Version: 1.9.51 (using Devel) Installed from: Compiled sources I have messages sent by a user with an accent in their name. When I select the e-mail in the message list, the name is shown correctly. However, as soon as something else receives focus (for example if I select on another e-mail in the message list, or even if just click in the message window of the selected message), the special character is replaced by a question mark. Attached screenshot illustrates the problem.
Created attachment 25193 [details] Screenshot showing kmail's message list with wrong and correct encoding
Strange, I don't have that problem. I can only imagine that maybe this is a font problem, and that the font changes depending on selection state.
Not all mails are affected. It seems the affected mails, have some bad UTF-8 encoding or at least my amavisd-new scanner added such a warning in all affected mails. I attach an e-mail sent by this bugzilla system concerning this bug, which is affected by this problem :-) It seems other mail clients are a bit more flexible in ignoring/fixing the encoding error, while KMail only succeeds in interpreting it correctly when the mail is either selected or unselected.
Created attachment 25334 [details] e-mail sent by kde's bugzilla of which sender is being rendered incorrectly in kmail's header pane
I can't reproduce the problem, I tried the attached mail and it is drawn correctly for me. No idea why it is not for you. Bugzilla from KDE produces invalid header fields, the from header is: From: Nicolas "Lécureuil" <neoclust@mandriva.org> This is displayed as 'Nicolas "Lécureuil"' (without the singe qoutes) in the sender column for me. But yes, the double quotes should be stripped, so I leave the bug report open. I think it is a recent regression (probably introduced in r804276)
BTW, bug 158535 is quite likely the same problem.
Created attachment 28000 [details] Umlaut corruption
Created attachment 28001 [details] Another Umlaut corruption
I can confirm this using an IMAP account. Have attached screenshots.
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.