[Bug 251513] New: HTML preview ignores charset
Christopher Yeleighton
giecrilj at stegny.2a.pl
Thu Sep 16 22:22:14 BST 2010
https://bugs.kde.org/show_bug.cgi?id=251513
Summary: HTML preview ignores charset
Product: kmail
Version: 1.13.5
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: messageviewer
AssignedTo: kdepim-bugs at kde.org
ReportedBy: giecrilj at stegny.2a.pl
Version: 1.13.5 (using KDE 4.4.4)
OS: Linux
KMail shows code preview instead of HTML preview for HTML mails.
Reproducible: Always
Steps to Reproduce:
1.
iconv >'/tmp/msg.mht' -f utf8 -t latin2 <<'<!-- EOF -->' && kmail --view
'/tmp/msg.mht'
Subject: HTML preview ignores charset
MIME-Version: 1.0
Content-Type: TEXT/HTML; charset=ISO-8859-2
<!DOCTYPE HTML "-//W3C//DTD HTML 4.01//EN"
><HTML LANG=pl
><META
HTTP-EQUIV=CONTENT-TYPE
CONTENT="TEXT/HTML; CHARSET=ISO-8859-2"
><TITLE >Ten dokument żle wygląda w podglądzie kodu</TITLE
><P >Zażółć gęślą jaźń <!>
<!-- EOF -->
Actual Results:
1. KMail displays the message window with the following warning:
Uwaga: To jest wiadomość HTML. Ze względów bezpieczeństwa wyświetlany jest
tylko czysty kod HTML. Jeżeli ufasz nadawcy wiadomości, możesz obejrzeć
sformatowaną wiadomość, klikając tutaj.
<!DOCTYPE HTML "-//W3C//DTD HTML 4.01//EN"
><HTML LANG=pl
><META
HTTP-EQUIV=CONTENT-TYPE
CONTENT="TEXT/HTML; CHARSET=ISO-8859-2"
><TITLE >Ten dokument ¿le wygl±da w podgl±dzie kodu</TITLE
><P >Za¿ó³æ gê¶l± ja¼ñ <!>
Expected Results:
1. The same, but with the HTML code properly decoded:
Uwaga: To jest wiadomość HTML. Ze względów bezpieczeństwa wyświetlany jest
tylko czysty kod HTML. Jeżeli ufasz nadawcy wiadomości, możesz obejrzeć
sformatowaną wiadomość, klikając tutaj.
<!DOCTYPE HTML "-//W3C//DTD HTML 4.01//EN"
><HTML LANG=pl
><META
HTTP-EQUIV=CONTENT-TYPE
CONTENT="TEXT/HTML; CHARSET=ISO-8859-2"
><TITLE >Ten dokument żle wygląda w podglądzie kodu</TITLE
><P >Zażółć gęślą jaźń <!>
OS: Linux (x86_64) release 2.6.34-12-desktop
Compiler: gcc
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list