[kde] [Bug 449460] New: Under certain locales, attempt to paste formatted Unicode text ends up as mojibake
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Tue Feb 1 16:01:53 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=449460
Bug ID: 449460
Summary: Under certain locales, attempt to paste formatted
Unicode text ends up as mojibake
Product: kde
Version: unspecified
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: tcbrnc at protonmail.com
Target Milestone: ---
SUMMARY
***
When Formats - System Settings is set to certain regions, attempting to copy
formatted Unicode text (eg. bold, italics, a hyperlink) and pasting it into
LibreOffice as unformatted text will cause the text to end up being garbled
gibberish.
***
STEPS TO REPRODUCE
1. Under Formats - System Settings, set region to "Belgium - English (en_BE)".
(Other regions also cause this issue but for demonstration purposes I am using
en_BE.)
2. Log out and log back in so changes would take effect
3. Copy some formatted Unicode text (I went on ja.wikipedia.org and copied the
header)
4. Open LibreOffice writer and trigger context menu. Go to Paste Special ->
Unformatted Text and select that option.
OBSERVED RESULT
Text ends up as a nonsensical string of letters
EXPECTED RESULT
Text is rendered properly
ADDITIONAL INFORMATION
It appears this is because the text encoding is incorrectly set to ISO-8859
rather than UTF-8, as the garbled string can be produced identically by pasting
the same string into Kate and changing the encoding to ISO-8859.
This is not an issue with locales such as en_US and en_GB and thus indicates
behavior is unintended or at least fixable, hence filing this bug.
Issue seems to only affect LibreOffice, however as the bug is triggered by
changing region in Plasma settings evidence points to this being on KDE's end.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list