Bug 367592

Summary: Klipper doesn't use UTF16 encoding for bookmarks
Product: [Plasma] plasmashell Reporter: Thomas Anderson <thomasanderson>
Component: Clipboard widget & pop-upAssignee: Martin Flöser <mgraesslin>
Status: RESOLVED UPSTREAM    
Severity: normal CC: mailinglist, nate, qydwhotmail, rdieter
Priority: NOR    
Version First Reported In: 5.15.3   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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