Bug 206276

Summary: encoded names of files is not recognized in some attachments view
Product: [Applications] kmail Reporter: Sergey Y. Afonin <asy>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kollix, sandsnake
Priority: NOR    
Version: 1.12.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: example with utf-8 сyrillic file name
example with bad utf-8 decode

Description Sergey Y. Afonin 2009-09-04 20:08:08 UTC
Version:           1.12.1 (using 4.3.1 (KDE 4.3.1), ALT Linux i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30-std-def-alt10

When the "view attachment is smart" is selected a file name displayed if
koi8-r used and not displayed if utf8. But external viewer running correctly.

When the "view attachment is inline" is selected a file name displayed correctly in both cases.
Comment 1 Martin Koller 2009-09-04 23:02:14 UTC
can you attach a test mail here, please ?
Comment 2 Sergey Y. Afonin 2009-09-04 23:29:41 UTC
Created attachment 36697 [details]
example with utf-8 сyrillic file name
Comment 3 Martin Koller 2009-09-04 23:45:33 UTC
Hm ... probably I don't understand your report.
I open the mail in kmail 4.3.1 (File -> Open) and test all different "View attachments" modes.
In all modes I see the filename as бугагага.jpg so with cyrillic characters.
What am I missing ?
Comment 4 Sergey Y. Afonin 2009-09-05 00:09:56 UTC
Hm. You are right. It is decode properly when open via "File -> Open". But it is not when mail in box (possible imap only ?)
Comment 5 Sergey Y. Afonin 2009-09-05 00:15:07 UTC
Created attachment 36700 [details]
example with bad utf-8 decode
Comment 6 Martin Koller 2009-09-05 00:17:05 UTC
Ah ok, you see it with IMAP. I'll specify it to be IMAP related.
I don't have an IMAP account. Can't test, sorry.
Comment 7 Martin Koller 2009-09-08 22:13:49 UTC
*** Bug 206380 has been marked as a duplicate of this bug. ***
Comment 8 Laurent Montel 2015-04-12 10:21:52 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.