<table><tr><td style="">wbauer created this revision.<br />Restricted Application added a project: KDE PIM.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7206" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The QString::replace() had no effect because the stream actually contains <!DOCTYPE html PUBLIC "-<em>W3C</em>DTD HTML 4.01 Transitional//EN" "<a href="http://www.w3.org/TR/html4/loose.dtd">" class="remarkup-link" target="_blank" rel="noreferrer">http://www.w3.org/TR/html4/loose.dtd"></a>, not just <!DOCTYPE html>.</p>
<p>Also, the <meta> tag should be inside the <head> section.</p>
<p>BUG: 374260</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Select a mail with german umlauts or other special characters, and choose "Print Preview".<br />
The characters are displayed correctly now in the Webbrowser.</p>
<p>The temporary file contains now:<br />
<!DOCTYPE html PUBLIC "-<em>W3C</em>DTD HTML 4.01 Transitional//EN" "<a href="http://www.w3.org/TR/html4/loose.dtd"><html><head><meta" class="remarkup-link" target="_blank" rel="noreferrer">http://www.w3.org/TR/html4/loose.dtd"><html><head><meta</a> charset="UTF-8"><title></title><style>...</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R94 PIM: Message Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7206" rel="noreferrer">https://phabricator.kde.org/D7206</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>webengineviewer/src/webengineexporthtmlpagejob.cpp</div></div></div><br /><div><strong>To: </strong>wbauer, mlaurent<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>