From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: Unicode support for the MS Windows clipboard Date: Wed, 28 Jul 2004 15:44:06 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <9681-Thu27May2004100522+0300-eliz@gnu.org> <3405-Wed28Jul2004064514+0300-eliz@gnu.org> <4107A426.4060008@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091022353 6532 80.91.224.253 (28 Jul 2004 13:45:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2004 13:45:53 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 28 15:45:39 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BpokU-0004AG-00 for ; Wed, 28 Jul 2004 15:45:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bpond-0001Vv-9P for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2004 09:48:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BponK-0001Ku-0p for emacs-devel@gnu.org; Wed, 28 Jul 2004 09:48:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BponH-0001Jk-VE for emacs-devel@gnu.org; Wed, 28 Jul 2004 09:48:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BponH-0001JT-Ou for emacs-devel@gnu.org; Wed, 28 Jul 2004 09:48:31 -0400 Original-Received: from [193.28.100.151] (helo=mail.epost.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bpojo-0002QD-Ll; Wed, 28 Jul 2004 09:44:56 -0400 Original-Received: from seneca.benny.turtle-trading.net.epost.de (193.99.153.30) by mail.epost.de (7.1.026.1) id 4105C2E200029F46; Wed, 28 Jul 2004 15:44:54 +0200 Original-To: Jason Rumney In-Reply-To: <4107A426.4060008@gnu.org> (Jason Rumney's message of "Wed, 28 Jul 2004 14:03:34 +0100") User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26051 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26051 Hi Jason, Jason Rumney writes: > Here are my suggestions, ?? > Default selection-coding-system to utf-16-le (or utf-16le, whichever > is appropriate). Already done on NT. So you just want to do that on 9x, too? > When selection-coding-system is utf-16-le, use CF_UNICODETEXT, and > put a copy on CF_TEXT in the system's default encoding for Windows > 9x apps that do not understand Unicode. Already done (delayed rendering makes that work almost automatically). > If the user changes selection-coding-system, use only CF_TEXT or > CF_OEMTEXT, Already done. > When putting data on the clipboard as CF_TEXT, we should try to set > an appropriate CF_LOCALE if we can determine it, so that automatic > conversion to CF_UNICODETEXT works correctly. Already done. I must be missing something. What was the point here? benny