[kontact] [Bug 443009] New: Replying email breaks text encoding

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Sep 27 13:50:51 BST 2021


            Bug ID: 443009
           Summary: Replying email breaks text encoding
           Product: kontact
           Version: 5.18.1
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: mail
          Assignee: kdepim-bugs at kde.org
          Reporter: boite.pour.spam at gmail.com
  Target Milestone: ---

On some email (not all), replying breaks the text encoding and all "special"
characters are replaced by unreadable code.

The text is displayed correctly in the initial message view (which is HTML)
like this:

Je suis en train de créer une

But if I hit reply, I get this instead:

> Je suis en train de créer

1. The initial message was written with Apple mail and is using
quoted-printable for the content transfer encoding, and the content type is
specifying utf-8, like this:

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable

Merci Vincent.=20

Salut Cyril j=E2=80=99esp=C3=A8re que tu vas bien ?=20
Je suis en train de cr=C3=A9er...
[...content removed here for privacy...]

Content-Type: multipart/mixed;
Content-Transfer-Encoding: 7bit

Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"><meta http-equiv=3D"conten=
t-type" content=3D"text/html; charset=3Dutf-8">Merci Vincent. <div><br>=
</div><div>Salut Cyril j=E2=80=99esp=C3=A8re que tu vas bien ? </div><d=
iv>Je suis en train de cr=C3=A9er 
[...content removed here for privacy...]

2. If you hit reply on such message, you'll get this:

Le lundi 27 septembre 2021 07:53:13 CEST, vous avez écrit :
> Merci Vincent. 
> Salut Cyril jâespère que tu vas bien ? 
> Je suis en train de créer 

3. Please notice that if I select some text and hit reply, the text is
correctly encoded (but I loose the unselected text obviously)
4. Also, switching HTML or plain text does not work either to restore the
correct encoding of the text
5. Also, the part that KMail is writing by itself ("vous avez écrit :") is also

It's not a duplicate of bug 441136 since I don't have the option "Keep original
charset when replying" selected.

See above

See above

Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85
Qt Version: 5.15.2
KMail: Version 5.18.1 (21.08.1)


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

More information about the Kdepim-bugs mailing list