Bug 187528 - Wrong charset in attachment name in the message header
Summary: Wrong charset in attachment name in the message header
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.11.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 16:37 UTC by Radek Jun
Modified: 2015-04-12 09:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Depicted where is right and wront attachment name. (20.88 KB, image/png)
2009-03-18 16:50 UTC, Radek Jun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radek Jun 2009-03-18 16:37:20 UTC
Version:           1.11.1 (using 4.2.1 (KDE 4.2.1), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.28-tuxonice-r1-normal

If I have email with attachment in UTF-8, for example

Content-Type: text/plain; charset=UTF-8; name="nějakýčeskýnázev.txt"

then I can see the right attachment name in the bottom of the message body, but wrong attachment name in the message header and in the content table bellow the message body.
Comment 1 Radek Jun 2009-03-18 16:50:50 UTC
Created attachment 32239 [details]
Depicted where is right and wront attachment name.
Comment 2 Jaime Torres 2009-03-18 17:29:14 UTC
I've tried with a file with name "àèìòùáéióú.txt" and the header looks like:
(before sending it and after receiving it)
Content-Type: text/plain;
  charset="UTF-8";
  name*=UTF-8''%C3%A0%C3%A8%C3%AC%C3%B2%C3%B9%C3%A1%C3%A9%C3%AD%C3%B3%C3%BA%2Etxt

in kde svn trunk (4.2.66).

Have the message come from a non standars compliant mail server?

See bug 176479 and bug 173503.
Comment 3 Laurent Montel 2015-04-12 09:54:00 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.