Bug 367592 - Klipper doesn't use UTF16 encoding for bookmarks
Summary: Klipper doesn't use UTF16 encoding for bookmarks
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 5.15.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Flöser
URL:
Keywords:
: 348169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-19 20:34 UTC by Thomas Anderson
Modified: 2025-03-06 13:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Anderson 2016-08-19 20:34:01 UTC
Copying a bookmark from Chrome or Firefox adds question mark entries in klipper's history.

The bookmark format text/x-moz-url is UTF16 encoded, and formatted like "URL\nTITLE".  If I make my app use UTF8 encoding instead, I see "URL TITLE" in klipper.

Reproducible: Always
Comment 1 Martin Flöser 2016-08-20 06:34:29 UTC
Is that only a visual issue or is the pasted entry also wrong?
Comment 2 Thomas Anderson 2016-08-22 18:05:57 UTC
If I move the "??" entry to the top and try to paste the bookmark, Chrome won't let me.
Comment 3 Nate Graham 2021-04-01 20:26:54 UTC
*** Bug 348169 has been marked as a duplicate of this bug. ***
Comment 4 Fushan Wen 2025-03-06 13:00:04 UTC
Cannot reproduce. Should be fixed in Qt already