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

            Bug ID: 445562
           Summary: long subject line in UTF-8 is decoded incorrectly
           Product: kmail2
           Version: 5.14.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kdepim-b...@kde.org
          Reporter: zhuravlov...@ya.ru
  Target Milestone: ---

SUMMARY
***
When message's subject is:
1) in UTF-8,
2) encoded by Base64 as multi-line,
3) has a character which codepoint is splitted among lines,-
then this character is decoded incorrectly.
***

STEPS TO REPRODUCE
1. Receive a message with subject e.g.

Кассовый чек от ФГАОУВО "ДВФУ" за 16.11.2021

which is encoded as:

Subject: =?utf-8?B?0JrQsNGB0YHQvtCy0YvQuSDRh9C10Log0L7RgiDQpNCT0JDQ?=
 =?utf-8?B?ntCj0JLQniAi0JTQktCk0KMiINC30LAgMTYuMTEuMjAyMQ==?=

2. View this message in message list

OBSERVED RESULT
Subject is displayed as:
Кассовый чек от ФГА��УВО "ДВФУ" за 16.11.2021

EXPECTED RESULT
Subject should be displayed as:
Кассовый чек от ФГАОУВО "ДВФУ" за 16.11.2021

SOFTWARE/OS VERSIONS
Linux: 5.3.18-lp152.98-default , x86_64
KDE Plasma Version:  5.18.6
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7 (built with version 5.12.7)

ADDITIONAL INFORMATION
If message is composed in KMail2 itself, then its subject is single-lined:

Subject:
=?UTF-8?B?0JrQsNGB0YHQvtCy0YvQuSDRh9C10Log0L7RgiDQpNCT0JDQntCj0JLQniAi0JTQktCk0KMiINC30LA=?=
16.11.2021

and this problem doesn't appear.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to