Visuwesh <visuwe...@gmail.com> writes: > My LibreOffice version is > > % libreoffice --version > LibreOffice 24.2.5.2 420(Build:2)
LibreOffice 7.6.7.2 60(Build:2) >> As you can see, the data contains \0 characters. > > Just to be sure that yank-media is not in the middle of encoding > problem, can you say what > > (gui-get-selection 'PRIMARY 'application/x-libreoffice-tsvc) > > returns? If it contains NULL bytes too, then I would be completely > clueless. Debugger entered--returning value: #("1\0\11\0002\0\11\0003\0\n\0004\0\11\0005\0\11\0006\0\n\0" 0 24 (foreign-selection application/x-libreoffice-tsvc)) (gui-get-selection PRIMARY application/x-libreoffice-tsvc) (progn (debug) (gui-get-selection 'PRIMARY 'application/x-libreoffice-tsvc)) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>