On 10/18/07, Stefan K邦ng <tortoisesvn@gmail.com> wrote:
> 妤快把扮我扶 尾把我抄 wrote:
> > Otherwise locale-specific characters may be lost (depends upon keyboard
> > switcher state).
>
> The docs for SetClipboardData state that:
>
> "When you close the clipboard, if it contains CF_TEXT data but no
> CF_LOCALE data, the system automatically sets the CF_LOCALE format to
> the current input language."
Yes, and that is exactly the problem 尾把我抄 (Yurij) wanted to fix by
forcing locale to default instead of current one.
Unfortunately, I am afraid the fix works only in some cases
(in particular, when switching between Russian and English,
since US-ASCII characters are present in Russian locale, but not vice-versa).
I hope you recent commit fixes that properly -- will test in a few days.
--
Alexander S. Klenin
Insight Experts Ltd.
Received on Wed Oct 17 18:23:56 2007