From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: Unicode support for the MS Windows clipboard Date: Wed, 28 Jul 2004 11:42:50 -0700 (PDT) Organization: Sony Electronics Inc. Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <20040728.114250.207586020.Takaaki.Ota@am.sony.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091040282 23698 80.91.224.253 (28 Jul 2004 18:44:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2004 18:44:42 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, handa@m17n.org, jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 28 20:44:31 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 1BptPi-0006cF-00 for ; Wed, 28 Jul 2004 20:44:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BptSr-0007Qt-Gp for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2004 14:47:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BptRv-0006ll-5k for emacs-devel@gnu.org; Wed, 28 Jul 2004 14:46:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BptRr-0006km-5U for emacs-devel@gnu.org; Wed, 28 Jul 2004 14:46:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BptRr-0006kN-3A for emacs-devel@gnu.org; Wed, 28 Jul 2004 14:46:43 -0400 Original-Received: from [160.33.82.68] (helo=mail1.fw-sj.sony.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BptOV-0006lE-1M; Wed, 28 Jul 2004 14:43:15 -0400 Original-Received: from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com [43.134.1.211]) by mail1.fw-sj.sony.com (8.12.11/8.12.11) with ESMTP id i6SIgpUV002367; Wed, 28 Jul 2004 18:42:56 GMT Original-Received: from localhost ([43.191.18.96]) by mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id i6SIgp4U025534; Wed, 28 Jul 2004 18:42:51 GMT Original-To: Benjamin.Riefenstahl@epost.de In-Reply-To: X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew-4.0.66 on Emacs-21.3.50.1 (i386-msvc-nt5.1.2600) of 2004-07-28 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:26065 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26065 Benny, After removing atexit(), kludging atexit_callback() into term_ntproc() and (set-clipboard-coding-system 'utf-16-le) first time ever I can share Japanese text between emacs and other application programs through the clipboard. Thank you very much. I look forward to the final implementation coming soon. -Tak Tue, 27 Jul 2004 14:24:14 +0200: Benjamin Riefenstahl wrote: > Hi Jason, > > Jason Rumney writes: > > Make sure that rendering CF_TEXT does not clobber the CF_UNICODETEXT > > that you just put there on the NT based versions of Windows that do > > automatic conversions. It might be better to reverse the order. > > It's not a problem on W2K here and thinking about it, it would be a > bug in the OS if it was, automatic conversion is supposed to be a > fallback solution. But better be safe than sorry. See attached > revised patch. > > benny > >