https://bugs.kde.org/show_bug.cgi?id=500203

--- Comment #14 from Anthony Wang <a@unnamed.website> ---
I took a glance at
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/klipper/updateclipboardjob.cpp
which was edited in the patch and I'm stumped on why copying Unicode text from
Firefox would lead to different results than in KWrite or other apps, so I'm
guessing maybe Firefox is the one that's converting Unicode text into \uXXXX
form for the text/plain mimetype.

Two possible solutions could be making Klipper only save the
text/plain;charset=utf-8 version of the text if both that and text/plain are
given to Klipper by an app, or making Klipper prioritize
text/plain;charset=utf-8 over text/plain when selecting an item from clipboard
history (but I couldn't find the code that handles this). However, I don't know
much about the Klipper codebase or what consequences either of these fixes
would have.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to