Inter-qube text copy/paste loses some (but not all) Unicode chars

25 views
Skip to first unread message

Kelly Dean

unread,
Aug 10, 2018, 2:21:23 PM8/10/18
to qubes...@googlegroups.com
In a qube in Qubes 4.0, copy the following 3-character Unicode string to the clipboard:
U201C U2013 U201D
That's code for:
left double quotation mark, en dash, right double quotation mark
In utf-8, it's:
e2 80 9c e2 80 93 e2 80 9d
It represents this (if your email client supports utf-8, just copy this directly):
“–”

Then do:
ctrl-shift-c
ctrl-shift-v

Then paste to see the result: the second char is lost. The clipboard now contains only the first and third chars (U201C and U201D).

However, if the clipboard contains just one char, U2013 by itself, then Qubes copy/paste doesn't lose it. It loses U2013 only when it occurs in combination with other chars.

U2014 (em dash) has the same problem as U2013.
U03B1 (Greek alpha) doesn't have the problem.
I haven't tried other chars.

To work around this problem, I have to save the text to a temp file, then use qvm-copy (which doesn't lose any chars), then open the file in the target qube, and copy the text from it.

Ninja'd by Ryan Tate on qubes-users:
qubes clipboard mangles text character (emdash)

Andrew David Wong

unread,
Aug 10, 2018, 9:00:56 PM8/10/18
to Kelly Dean, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
https://github.com/QubesOS/qubes-issues/issues/2845

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZQ7rCYX0j3henGH1203TvDlQMDAFAltuNTgACgkQ203TvDlQ
MDBh5g/9GjiZV8H4VlZEIGKypPEUbPcPcv9yDRw/vUu64Q9RMOiD/boJ6zsRw29/
Na5a5WfOObjj+Pq0FV7luHy6dpQjmZNewWZXqBNApglCEyNlcmRhxmWK7bQClqcd
v3s0JijCbEi8qJFSOmPEeVr2T2dwZ5qLaWX5lkPlkOvESqFNjxnr65Y7UIrCwAmc
Hv4Wclze0kLaASpdDyDhlbpN77ZnwCqAYxtXBnYnpsvRMEF7hT+A386CvmC+0qL/
f4I9xJxv4PUjwArU8HB1Li9KClHbt+hNWaUPifjj8/uwh5mp9MQv236qMcoXTQmS
lOMmv0BQsThvkShcrYD2xT7PLfoVMzBht3b44k4jzu05l7VOIAYBIK8NMqHRFMTk
AxvKq4lxRGcz7mw4+dcM67LXcG1vADngVqxkDKr63m7+By29b6dKL1cNQ9EHoPcb
ug5gK4BqqZXsaAhouuotG+BVkE4Qe9p+XQftydJS4bKIEUGhgPbSnxhoy58Ha5dw
sXDegfzrxg0Cw54po39ctE5e//99axswtWhyINr1BjiuhcChtP0+GGcfPM5qIh8b
Th10cl2vdGw5oIxshH2YrvY8yXdEOx94rEW1NqpdRdRGNqOZEQDwy3JYq/rWxa3R
Wa3/B5Wv8hfG+Kj9+o52sMrmG1mABwDXATXiiJcBn+ykxdZhyKc=
=kqo5
-----END PGP SIGNATURE-----


Reply all
Reply to author
Forward
0 new messages