RE: Subject: Windows 95 clipboard & Unicode

From: Paul Dempsey (paulde@microsoft.com)
Date: Fri Feb 13 1998 - 13:03:18 EST


> -----Original Message-----
> From: John Cowan [SMTP:cowan@locke.ccil.org]
> Sent: Thursday, February 12, 1998 08:14 PM
> To: Multiple Recipients of
> Subject: Re: Subject: Windows 95 clipboard & Unicode
>
> > However, IsClipboardFormatAvailable(CF_UNICODETEXT) returns
> > false when IsClipboardFormatAvailable(CF_TEXT) returns true,
> > and GetClipboardData(CF_UNICODETEXT) returns NULL when
> > GetClipboardData(CF_TEXT) returns a non-NULL value.
>
> As another datum: the Sam editor from Plan 9 has been ported to Win32.
> When exchanging data with the Win32 clipboard, it correctly puts the
> UCS-2 format under CF_UNICODE, but the CF_TEXT format holds UTF-8 text,
> Sam's native format.
>
That is an incorrect use of the CF_TEXT format. No windows application will
expect UTF-8 in CF_TEXT. They will expect text in the system codepage.

--- Paul Chase Dempsey paulde@microsoft.com
>
> --
> John Cowan cowan@ccil.org
> e'osai ko sarji la lojban.



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:39 EDT