From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Paste international characters with Emacs 21.3 on Windows Date: 09 May 2004 08:26:56 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084080395 9295 80.91.224.253 (9 May 2004 05:26:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 May 2004 05:26:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 09 07:26:29 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BMgpZ-0006j7-00 for ; Sun, 09 May 2004 07:26:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMgpC-0008VT-IT for geh-help-gnu-emacs@m.gmane.org; Sun, 09 May 2004 01:26:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BMgoc-0008KF-Jt for help-gnu-emacs@gnu.org; Sun, 09 May 2004 01:25:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BMgny-0007M0-U0 for help-gnu-emacs@gnu.org; Sun, 09 May 2004 01:25:25 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.33) id 1BMgnx-0007E1-RS for help-gnu-emacs@gnu.org; Sun, 09 May 2004 01:24:50 -0400 Original-To: help-gnu-emacs@gnu.org In-reply-to: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18376 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18376 > From: jasonr (Jason Rumney) @ f2s.com > Newsgroups: gnu.emacs.help > Date: Sat, 08 May 2004 20:13:35 +0100 > > > I'm using GNU Emacs 21.3.1 [(i386-mingw-nt5.0.2195) of 2004-03-10 on > > NYAUMO] on Windows 2000. Using the LEIM I can enter Japanese text. > > But I can't paste Japanese text from other Windows applications. > > The NEWS file suggests setting selection-coding-system to > > utf-16-le-dos, but that doesn't work. > > The NEWS file is wrong. First, it's not in NEWS, it's in PROBLEMS. Second, the entry's name is "Known problems with the MS-Windows port of Emacs 21.2", so it might be out of date for v21.3. Having said that, here's what that entry has to say about this issue: Windows uses UTF-16 encoding to deal with multilingual text (text not encodable in the `system codepage') in the clipboard. To deal with this, load the library `utf-16' and use `set-selection-coding-system' to set the clipboard coding system to `utf-16-le-dos'. This won't cope with Far Eastern (`CJK') text; if necessary, install the Mule-UCS package (see etc/MORE.STUFF), whose `utf-16-le-dos' coding system does encode a lot of CJK characters. If this is plain wrong (i.e., will never help, no matter what the circumstances and versions of Windows are involved), somebody should remove this text from PROBLEMS.