Subject: Re: Cut and paste Unicode plain text
From: Mike Nordell (tamlin@algonet.se)
Date: Tue Jun 05 2001 - 07:42:35 CDT
Andrew Dunbar wrote:
> Mike Nordell wrote:
> >
> > Should we possibly also add a CF_LOCALE object to the clipboard?
>
> CF_RTF will work for 8 bit, multibyte, and unicode RTF.
> On NT the OS adds the CF_LOCALE of the current input locale which
> is OK for now.
Oh, I didn't know that. Does it add a CF_LOCALE for every SetClipboardData?
(a plain URL will do)
> But since the user can change the input locale at
> any time we may be able to improve it.
Hence my question about adding CF_LOCALE to our "clips". Imagine copying
(8-bit) text using one locale, changing locale and the pasting. We'd still
assume the original chars to be pasted I think.
Thinking a bit more I believe we indeed need a new function to add Unicode
text to the clipboard; we don't want to add CF_UNICODETEXT for simple
8859-1, do we?
/Mike - please don't cc
This archive was generated by hypermail 2b25 : Tue Jun 05 2001 - 07:57:06 CDT