Bug 259051

Summary: Bad display subject field in messages with koi8-r encoding
Product: [Applications] kmail2 Reporter: Murz <MurzNN>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aspotashev, klerik, lemannstrike
Priority: NOR    
Version: 2.0.89   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: rucenter_message.mbox
Screenshot of KMail 2.1.1 with bad characters on subject

Description Murz 2010-12-06 21:44:41 UTC
Created attachment 54222 [details]
rucenter_message.mbox

Version:           2.0.89
OS:                Linux

I receive messages in koi-8 encoding with Cyrillic letters in Subject.
Other email clients (thunderbird, roundcube) and kmail (from KDE 4.4.x) displays this subject normally, but kmail2 displays badly - I see � symbols instead of Cyrillic letters in message subject, but body show normally.
I think that kmail2 don't look to 'Content-Type: text/plain; charset=KOI8-R' field when displaying subject, but it must look.


Reproducible: Always

Steps to Reproduce:
Try to import message from attach mbox to kmail folder.

Actual Results:  
You will see "����� DOMAIN.RU: ���� ����������� ������������� 15-DEC-2010" subject of message

Expected Results:  
You must see: "Домен DOMAIN.RU: срок регистрации заканчивается 15-DEC-2010" in subject

OS: Linux (x86_64) release 2.6.35-23-generic
Compiler: cc
Comment 1 Jirka Nemec 2011-07-10 10:54:46 UTC
Created attachment 61752 [details]
Screenshot of KMail 2.1.1 with bad characters on subject
Comment 2 Jirka Nemec 2011-07-10 10:55:21 UTC
I have the similar problem in newest version of KMail 2.1.1. Complete mail with subject is on encoding WIN-CP-1250 and on message body is all ok but on message list is problem with non ascii characters.
Screenshot in attachment is better then my bad english words.
Comment 3 Alexander Potashev 2011-11-19 15:44:41 UTC
I confirm this bug in KMail 4.7.3.
Comment 4 Murz 2011-11-21 05:24:23 UTC

*** This bug has been marked as a duplicate of bug 276105 ***
Comment 5 Lemann 2012-09-23 06:55:28 UTC
I confirm this bug on Kmail2 (KDE 4.8.5, precise 12.04)