[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
https://bugs.kde.org/show_bug.cgi?id=443009
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: ---
SUMMARY
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
STEPS TO REPRODUCE
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:
--Apple-Mail-B6D63D2D-099E-44BF-9EDA-531641451B38
Content-Type: text/plain;
charset=utf-8
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...]
--Apple-Mail-B6D63D2D-099E-44BF-9EDA-531641451B38
Content-Type: multipart/mixed;
boundary=Apple-Mail-ACFFAAD7-7608-4761-8991-19B6D013FB0C
Content-Transfer-Encoding: 7bit
--Apple-Mail-ACFFAAD7-7608-4761-8991-19B6D013FB0C
Content-Type: text/html;
charset=utf-8
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
wrong.
It's not a duplicate of bug 441136 since I don't have the option "Keep original
charset when replying" selected.
OBSERVED RESULT
See above
EXPECTED RESULT
See above
SOFTWARE/OS VERSIONS
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)
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list