<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Wrong HTML copy/paste from webpage"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137588">137588</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Wrong HTML copy/paste from webpage
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alepoc69@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Garbled text when pasting from HTML pages into Libreoffice Writer/Calc 7.
Steps to Reproduce:
1. Enter www.deepl.com
2. Choose English to German translation
3. Enter the sentence "The trees are big". You read "die Bäume sind Groß".
4. Copy (Ctrl+V) the German translation and paste it in Libreoffice Writer or
Calc.
4a. Alternate: Paste Special ->
Writer: it reads "Unknown Source" instead of HTML and it doesn't offer "As
HTML" but only "Unformatted text"
Calc: it also provides "Use text import dialog", but I cannot find any
Character set that provides a correct encoding.
Actual Results:
The pasted text contains garbled chars: "die Bäume sind groÃ"
Expected Results:
The correct text should be "die Bäume sind groß"
Reproducible: Always
User Profile Reset: No
Additional Info:
EASY SOLUTION: When the text source is unknown it would be better to leave ALL
the possible options to choose from, instead of only providing "unformatted
text".
Copy/paste from other pages in German (i.e. spiegel.de) are correctly
recognized as HTML and pasted accordingly into Writer/Calc.
It looks like a problem of deepl.com, but we should take care of these
anomalous pages and provide a viable solution. Copying from HTML is quite
common and it is possible deepl.com is not the only page where this happens.
BTW, pasting this same text in any other text editor in Ubuntu works correctly.
Only Libreoffice doesn't manage it correctly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>