[Spice-devel] [PATCH] client: support clipboard/selection-owner model

Hans de Goede hdegoede at redhat.com
Mon Sep 27 01:25:19 PDT 2010


Hi,

On 09/26/2010 10:34 AM, Arnon Gilboa wrote:
> Alexander Larsson wrote:
>> On Wed, 2010-09-22 at 14:16 +0200, Arnon Gilboa wrote:
>>> utf8_atom = XInternAtom(x_display, "UTF8_STRING", False);
>>> +
>>> + Platform::clipboard_formats[0].format = utf8_atom;
>>> + Platform::clipboard_formats[0].type =
>>> Platform::CLIPBOARD_UTF8_TEXT;
>>
>> How common is UTF8_STRING support these days? Can we rely on all
>> interesting apps supporting it, or should we also try to handle the
>> older non-utf8 X text formats by doing the conversion ourselves?
>>
> Although I haven't met an "interesting app" not supporting UTF8_STRING (can u find one?), we can support older text formats conversion (actually we did it before and removed it;). Is it interesting enough?

I have been doing some reading up on X11 copy paste and if I've come to
understand things correctly the old non utf-8 ay of doing things is
a mess and a pain. So I think it is best to just not support it.

Regards,

Hans


More information about the Spice-devel mailing list