Unicode text in clipboard

18 views
Skip to first unread message

Oli Sturm

unread,
Oct 3, 2019, 4:56:53 AM10/3/19
to qubes...@googlegroups.com
Hi,

I found a problem yesterday: I had some markdown text rendered to HTML with the smartypants option to replace "--" with a long dash. The generated file contained a unicode entity for that character, I copied it to the clipboard, then did Ctrl-Shift-C and Ctrl-Shift-V, then pasted in another VM. Suddenly the unicode character was gone - the only difference as far as I could tell.

Are there known problems in that area? I don't know which software package is responsible for this - I'm on R4.0 with recent updates.

Thanks
Oli



signature.asc

awokd

unread,
Oct 3, 2019, 12:43:01 PM10/3/19
to qubes...@googlegroups.com
'Oli Sturm' via qubes-users:
> Hi,
>
> I found a problem yesterday: I had some markdown text rendered to HTML with the smartypants option to replace "--" with a long dash. The generated file contained a unicode entity for that character, I copied it to the clipboard, then did Ctrl-Shift-C and Ctrl-Shift-V, then pasted in another VM. Suddenly the unicode character was gone - the only difference as far as I could tell.
>
> Are there known problems in that area? I don't know which software package is responsible for this - I'm on R4.0 with recent updates.

https://github.com/QubesOS/qubes-issues/issues/236 says unicode is
supported. If you can recreate it, might be worth submitting a new issue
referencing that one?

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Andrew David Wong

unread,
Oct 3, 2019, 7:43:30 PM10/3/19
to qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2019-10-03 11:42 AM, 'awokd' via qubes-users wrote:
> 'Oli Sturm' via qubes-users:
>> Hi,
>>
>> I found a problem yesterday: I had some markdown text rendered to
>> HTML with the smartypants option to replace "--" with a long
>> dash. The generated file contained a unicode entity for that
>> character, I copied it to the clipboard, then did Ctrl-Shift-C
>> and Ctrl-Shift-V, then pasted in another VM. Suddenly the unicode
>> character was gone - the only difference as far as I could tell.
>>
>> Are there known problems in that area? I don't know which
>> software package is responsible for this - I'm on R4.0 with
>> recent updates.
>
> https://github.com/QubesOS/qubes-issues/issues/236 says unicode is
> supported. If you can recreate it, might be worth submitting a new
> issue referencing that one?
>

Possibly related: https://github.com/QubesOS/qubes-issues/issues/2845

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

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

iQIzBAEBCgAdFiEEZQ7rCYX0j3henGH1203TvDlQMDAFAl2Wh48ACgkQ203TvDlQ
MDCxHBAAl5q0HbToKdO76VVQCJxM4LEhTBkUn1LyT0+I3NKskHTyTv3mynTfYVYw
KsEnQtaNSHgw7j98yEfX4IZzrB6vM4a9rW0tuj8BfmGUWgTcCPGW8ZeU5lhPtljt
N1AP+1+pi8eQFIqKWiVSqCre5ZQSALyvpSQkklBk3cQwdMzFQ63xGnGR93jA03H5
tJDatgHT3FpqsDXdd1JQoe7s6Ibk2/xSQccxzZmX9vyLQKjsxKzoeW35s8TT5TfO
nu4OOrHbDf36eoVX89HbyPhcpj/SO8iXZ8lpy3GNSkIiVzzVBE45My4fPe+lnznb
0yY1ULGaDmywn1+S8+yIBqO+gnp93LKrLszc5OZojc08Yz3SOO2k/JsZglHa902F
SZ1f1Rw2hRzdGEVldUDT6iHULMtlo9YDIuoty7+9Ij7PuHa3gqFXFYx+ndOQHMjf
EWQ4AZyoMyGaWsDGJSBXJ/DeqSpQqDePMqoPiSfoPg9wlnNsWJC9mqBJ7raXf3GL
ehwmuQL9tbCxaNIE5gb2x63++wTqU4KDGHejyKyIEGKF5MbZNmpmr0DAppDVKnvF
1rRyzjgQ8CWn/X/Yhmhtg/lgpbp/1/sMB7BVNMqgURe0uL0r67qNXjP+wW2HFFT0
3eQUlZT39taz3lTWETLBV2fH0yvY2gnAQSZUM8FbdOoPrT5NlG8=
=T+91
-----END PGP SIGNATURE-----

Oli Sturm

unread,
Oct 4, 2019, 4:25:18 AM10/4/19
to qubes...@googlegroups.com
On Friday, October 4, 2019 12:43 AM, Andrew David Wong <a...@qubes-os.org> wrote:

> On 2019-10-03 11:42 AM, 'awokd' via qubes-users wrote:
>

> > 'Oli Sturm' via qubes-users:
> >

> > > Hi,
> > > I found a problem yesterday: I had some markdown text rendered to
> > > HTML with the smartypants option to replace "--" with a long
> > > dash. The generated file contained a unicode entity for that
> > > character, I copied it to the clipboard, then did Ctrl-Shift-C
> > > and Ctrl-Shift-V, then pasted in another VM. Suddenly the unicode
> > > character was gone - the only difference as far as I could tell.
> > > Are there known problems in that area? I don't know which
> > > software package is responsible for this - I'm on R4.0 with
> > > recent updates.
> >

> > https://github.com/QubesOS/qubes-issues/issues/236 says unicode is
> > supported. If you can recreate it, might be worth submitting a new
> > issue referencing that one?
>

> Possibly related:https://github.com/QubesOS/qubes-issues/issues/2845

Agreed, that sounds like the same problem. I did a search but I didn't imagine the issue to be so specific to dashes - I was using search terms like "unicode" and didn't come up with anything.

Meanwhile it doesn't look like these issues (#2845 and https://github.com/QubesOS/qubes-issues/issues/4739) are going anywhere. Can we do anything to analyze the problem more, or are additional use cases required to reproduce? I think this is quite important, not just for the purpose of copying dashes, but also because broken confidence in the clipboard transfer process makes life a lot harder...

Thanks
Oli
signature.asc

Andrew David Wong

unread,
Oct 4, 2019, 10:13:53 PM10/4/19
to Oli Sturm, qubes...@googlegroups.com
The most effective way to make progress on those issues would be to
contribute patches. Short of that, any information you can provide that
would help the devs fix the problem would help.

Aside from that, I'm afraid it's simply a matter of having a small, very
busy dev team and well over a thousand open issues of which this is only
one.
Reply all
Reply to author
Forward
0 new messages