[kdepim] [Bug 362697] Attachments with Koi-8 encoded file names are not displayed correctly

Axel Hinrichs bugzilla_noreply at kde.org
Fri May 12 13:47:31 BST 2017


https://bugs.kde.org/show_bug.cgi?id=362697

Axel Hinrichs <kde at a.bitscape.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at a.bitscape.de

--- Comment #1 from Axel Hinrichs <kde at a.bitscape.de> ---
I can confirm this bug with some additional info. I have the same problem with
utf-8 coded filename* parameters. So it looks like the messageviewer does not
implement https://tools.ietf.org/html/rfc5987 which then referes to
https://tools.ietf.org/html/rfc2231. 

(Very) short summary: One can issue a MIME Header

Content-Disposition: ..., filename=filename.ext 

or - if the filename contains non ISO-8859-1 letters:

Content-Disposition: ..., filename*=coding'language'filename.ext 

So in my case the MIME-Part header looks like:

Content-Disposition: attachment;
 filename*="utf-8''some-filename-with-utf-8-encoding.ext"

Double quotes are optional but allowed according to RFC. 

Kmail takes everything between the double quotes literally as the filename.

I'm on arch linux so everything pretty current: KDE Apps 17.04.1, Plasma 5.9.5,
Framework 5.33.0, QT 5.8.0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list