[Bug 298349] New: kmail2 composer (still) fails to display non-ascii characters in quoted text on reply with some mails (only with nested multipart mime parts?)

Marc Schiffbauer mschiff at gentoo.org
Wed Apr 18 12:34:41 BST 2012


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

            Bug ID: 298349
          Severity: major
           Version: Git (master)
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: kmail2 composer (still) fails to display non-ascii
                    characters in quoted text on reply with some mails
                    (only with nested multipart mime parts?)
    Classification: Unclassified
                OS: Linux
          Reporter: mschiff at gentoo.org
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: composer
           Product: kmail2

Hi,

this bug has been there in the past and something about it has been fixed. I do
not know any bug number, sorry.

While this is working most ogf the time time, I just got an email where it
still does NOT work.

Displaying that email works quite fine for that particular email, but when I
hit the reply button, all text that is transferred to the composer as quote is
decoded twice or sowmthing like that producing strings like "ä" for a german
a-umlaut (ä) for example.

I had a quick look at the mail headers like "Content-Type:" and the
Content-Type of the mime parts.

It seems like kmail (-composer?) fails at understanding/decoding special
crafted (nested?) mime attachements . I have compared a working mail and a non
working mail, which both are quite similar and noticed the following
differences:

WORKING mail:
============
Header:
Content-Type: multipart/mixed; boundary="------------090808080701020801080608"

Body:
This is a multi-part message in MIME format.
--------------090808080701020801080608
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

some umlaut: =C3=BC
--------------090808080701020801080608

FAILING mail:
===========
Header:
Content-Type: multipart/mixed; boundary="===============4151591153882929492=="

Body:
--===============4151591153882929492==
Content-Type: multipart/alternative;
 boundary="========GMXBoundary37091334746530755927"

--========GMXBoundary37091334746530755927
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

some umlaut: =C3=BC
--========GMXBoundary37091334746530755927
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<span>some umlaut: =C3=BC</span>

--========GMXBoundary37091334746530755927--

--===============4151591153882929492==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

some footer

--===============4151591153882929492==--



Reproducible: Always

Actual Results:  
Non-ascii chars in editor are presented like "=C3=BC" instead of "ä" for
example for some mails

Expected Results:  
Non-ascii chars in editor are presented like "ä" properly

mutt does it all right

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


More information about the Kdepim-bugs mailing list