If I select the text "1234" in Konsole and run "xclip -out -target text/html" I get the following output: <span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">1234</span><br></span> That is correct, but if I now select a single double-width character such as the Japanese character "私" and run xclip again I get this: <span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">私2</span><br></span> The number "2" now appears after "私". This number is left behind from the previous clipboard entry because Konsole gets confused about the length of the clipboard when it contains double-width characters. I am running Konsole 23.08.5 with Qt 5.15.14 on X11 Linux.