Bug 237113

Summary: KMail: attachment name with inline encoding statement shows encoding instead of name
Product: [Applications] kmail Reporter: Frank Steinmetzger <dev-kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenie of wrong display of attachment names

Description Frank Steinmetzger 2010-05-10 16:33:38 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Gentoo Packages

I just received an email with several attachments, of which some contain umlauts (öäü) with an inline encoding statement in the file name:

------=_NextPart_000_0039_01CAF036.F769B280
Content-Type: audio/mid;
	name="=?iso-8859-1?Q?alles_verg=E4ngliche.mid?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="=?iso-8859-1?Q?alles_verg=E4ngliche.mid?="

In the preview's attachment list, right after loading the attachment, the names are shown correctly, but then immediately change to "iso-8859-1" instead of "alles vergängliche.mid".
Comment 1 Frank Steinmetzger 2010-05-10 16:36:53 UTC
Created attachment 43435 [details]
Screenie of wrong display of attachment names

Oops, "right after loading the attachment" should read "right after loading the mail".
Comment 2 Frank Steinmetzger 2010-06-09 23:00:52 UTC
Addendum: I just discovered that, when I view the source of such a message, the displayed names of the attachments in question change from "ISO-8859-15" to their correct name.
Comment 3 Laurent Montel 2012-08-01 07:56:04 UTC
Works fine in 4.9