Bug 418161 - Danish letters are rendered wrong in HTML.
Summary: Danish letters are rendered wrong in HTML.
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 5.13.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-25 07:26 UTC by Morten Søltoft
Modified: 2020-02-27 13:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.14.0


Attachments
ÆØÅ seen in Kmail (27.39 KB, image/png)
2020-02-25 07:26 UTC, Morten Søltoft
Details
E-mail example (7.93 KB, application/mbox)
2020-02-25 12:43 UTC, Morten Søltoft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Morten Søltoft 2020-02-25 07:26:29 UTC
Created attachment 126391 [details]
ÆØÅ seen in Kmail

SUMMARY

Danish letters are rendered wrong in HTML, when recieving mails from eg. a Outlook client.

STEPS TO REPRODUCE
1. send mail with Æ Ø Å from Oulook
2. 
3. 

OBSERVED RESULT

View the attachment

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Opnesuse Tumbleweed 20200220
(available in About System)
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Comment 1 Laurent Montel 2020-02-25 08:25:18 UTC
Hi,
could you attach mail here please ?

I think that it's a duplicate bug but I need a testcase
Thanks
Comment 2 Morten Søltoft 2020-02-25 12:43:02 UTC
I see this error when encoded with ISO-8859-1 and windows-1252.
UTF-8 is ok
Comment 3 Morten Søltoft 2020-02-25 12:43:39 UTC
Created attachment 126404 [details]
E-mail example
Comment 4 Laurent Montel 2020-02-25 13:50:49 UTC
yep it's the problem.
I work on this bug at the moment.
Comment 5 Laurent Montel 2020-02-27 07:47:11 UTC
Git commit 32c76b466747e417fd63e6c5b305cc673a8bebd8 by Laurent Montel.
Committed on 27/02/2020 at 07:46.
Pushed by mlaurent into branch 'master'.

Start to fix encoding problem
Related: bug 416758

M  +1    -0    messageviewer/src/htmlwriter/webengineparthtmlwriter.cpp
M  +10   -0    messageviewer/src/interfaces/htmlwriter.cpp
M  +4    -2    messageviewer/src/interfaces/htmlwriter.h

https://commits.kde.org/messagelib/32c76b466747e417fd63e6c5b305cc673a8bebd8
Comment 6 Laurent Montel 2020-02-27 13:05:25 UTC
Git commit a95b0fc382c0f035265223feb28a9e74c4fc6431 by Laurent Montel.
Committed on 27/02/2020 at 13:04.
Pushed by mlaurent into branch 'master'.

Fix Bug 416758 - Encoding broken
Related: bug 416758
FIXED-IN: 5.14.0

M  +2    -2    messageviewer/src/htmlwriter/webengineparthtmlwriter.cpp
M  +2    -1    messageviewer/src/viewer/viewer_p.cpp

https://commits.kde.org/messagelib/a95b0fc382c0f035265223feb28a9e74c4fc6431