[kmail2] [Bug 505128] New: Wrong charset sent with mails by default.

Frédéric CUIF bugzilla_noreply at kde.org
Mon Jun 2 14:11:38 BST 2025


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

            Bug ID: 505128
           Summary: Wrong charset sent with mails by default.
    Classification: Applications
           Product: kmail2
      Version First 5.24.5
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: composer
          Assignee: kdepim-bugs at kde.org
          Reporter: fc at descartes-avocats.com
  Target Milestone: ---

SUMMARY

Wrong charset sent with mail by default.
The HTML part of the mail declares <meta charset=“UTF-8”> in its code, but the
MIME explicitly defines charset=“iso-8859-1”, which overrides the meta tag
Subject headers mix encodings (=?ISO-8859-1?Q? and =?UTF-8?B?), which creates
conflicts with Microsoft serveurs.
Sequences such as =E8 (é in ISO-8859-1) are not decodable in UTF-8, hence the
“�” displayed by the recipient.
Options by default in kmail 2 selects : us-ascii, 8859-1, UTF-8, UTF-8 (locale) 


STEPS TO REPRODUCE
1. delete all charset except UTF-8
2 or modify headers with the tool in kmail and set UTF-8 un field filled with
"charset"

OBSERVED RESULT
All mentions to 8859-1 has disappeared in headers

EXPECTED RESULT

Every client can read properly accents (like =E8)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  opensuse leap 15.6
KDE Plasma Version: Version 5.115.0
KDE Frameworks Version: 
Qt Version: Version 5.15.12 (Compilé avec 5.15.12)
Kontact Version 5.24.5 (23.08.5)
ADDITIONAL INFORMATION

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


More information about the Kdepim-bugs mailing list