Bug 371006 - Printed website uses wrong encoding
Summary: Printed website uses wrong encoding
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.4.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 15:37 UTC by Kai Uwe Broulik
Modified: 2022-11-03 08:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2016-10-17 15:37:06 UTC
When printing an email (which opens in an external browser...) the HTML file is encoded in utf8 but its content-type header says iso-8859-1

Reproducible: Always

Steps to Reproduce:
1. Open an email which contains special characters
2. Print it
3. 

Actual Results:  
The website that opens in an external browser has garbled special characters

Expected Results:  
The website that opens in an external browser has proper special characters
Comment 1 Bruno Friedmann 2016-10-28 07:56:53 UTC
It's even worse, if the message is text + html.
You select view html + image in messageviewer and decide to print it
(Maybe an invoice like what paypal send)

the print in browser take only the text part. not the last state of messageviewer.
Comment 2 Laurent Montel 2016-10-28 11:15:56 UTC
(In reply to Bruno Friedmann from comment #1)
> It's even worse, if the message is text + html.
> You select view html + image in messageviewer and decide to print it
> (Maybe an invoice like what paypal send)
> 
> the print in browser take only the text part. not the last state of
> messageviewer.

it's already fixed in 5.3.2 or 5.3.3 but it's fixed
Comment 3 Bruno Friedmann 2016-10-28 11:34:02 UTC
What about the new complete integration again directly in kmail ?
is it for 16.12 ?
Comment 4 Laurent Montel 2016-10-29 07:10:06 UTC
(In reply to Bruno Friedmann from comment #3)
> What about the new complete integration again directly in kmail ?
> is it for 16.12 ?

For printing yep
for print preview no
and you need qt5.8
Comment 5 Freek de Kruijf 2017-03-24 10:58:16 UTC
Using version 5.4.3 and trying to print an email it looks as if a window opens, but it immediately vanishes. Printing an email is impossible.
Comment 6 Justin Zobel 2022-11-03 01:40:35 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 7 Bruno Friedmann 2022-11-03 08:31:18 UTC
Tested and work with openSUSE Tumbleweed - 20221029
Linux 6.0.5-1-default x86_64 GNU/Linux
nvidia: 515.76
Qt: 5.15.6
KDE Frameworks: 5.99.0
Plasma: 5.26.2
kmail2 5.21.2 (22.08.2)

Closing.