[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode support for the MS Windows clipboard

From: Jason Rumney
Subject: Re: Unicode support for the MS Windows clipboard
Date: Fri, 28 May 2004 15:48:18 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514

Benjamin Riefenstahl wrote:

Another thing worth considering, if we are making major changes to the
clipboard code, is that Kenichi Handa pointed out some time ago that
the encoding part of the X clipboard support is now done in Lisp
(xselect.el). Windows could do this too.

Sorry, it is select.el, not xselect.el, though it looks pretty X specific, so I don't think it could be reused directly.

At the moment this is done via {de,en}code_coding() and a couple of
friends.  Is that the same thing?

No, that is something different, but lets put this bit off until the on-demand clipboard changes, which are going to be major anyway. This might all become much simpler once the unicode branch is merged anyway.

Jason Rumney <address@hidden> writes:

The encoding of CF_UNICODETEXT does not vary, so utf-16-le (or maybe
-be) is the only coding-system that is appropriate.

Actually at the moment that would be utf-16le-dos, not utf-16-le-dos.

That's why I suggested making all utf-16 coding systems (maybe even utf-8) mean "use CF_UNICODETEXT". Even I do not understand all the subtle differences between them and which is appropriate to use for Windows clipboard, so we can't expect average users to.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]