Summary: | UTF-8 characters decoded incorrectly on reply | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | kzi <kde> |
Component: | composer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/messagelib/commit/29a5a05e2078b75f0a994e29e92707e3ec81e2d1 | Version Fixed In: | |
Sentry Crash Report: |
Description
kzi
2021-12-20 17:02:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/messagelib/-/merge_requests/107 Git commit 29a5a05e2078b75f0a994e29e92707e3ec81e2d1 by Laurent Montel, on behalf of Fabian Vogt. Committed on 09/03/2023 at 07:27. Pushed by fvogt into branch 'master'. Fix fallback path in MessageFactoryNG::applyCharset In the case that the codec of the original message could not encode the reply, it was still set as charset but the body encoded with the fallback codec. This resulted in replies having messed up encoding. It can be triggered by replying to multipart mails which define the charset in parts only or if the reply template ends up with other special characters. Related: bug 443009, bug 298349 M +64 -0 messagecomposer/autotests/messagefactoryngtest.cpp M +3 -0 messagecomposer/autotests/messagefactoryngtest.h M +5 -4 messagecomposer/src/helper/messagefactoryng.cpp https://invent.kde.org/pim/messagelib/commit/29a5a05e2078b75f0a994e29e92707e3ec81e2d1 |