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: Copying and pasting Cyrillic text between Emacs and other apps Date: 28 Jan 2004 08:33:10 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <36b165a.0401271516.c68fa38@posting.google.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075271565 16691 80.91.224.253 (28 Jan 2004 06:32:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2004 06:32:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 07:32:40 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 1AljFg-0000qN-00 for ; Wed, 28 Jan 2004 07:32:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AljFL-0007oq-7P for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2004 01:32:19 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AljF2-0007oa-Jf for help-gnu-emacs@gnu.org; Wed, 28 Jan 2004 01:32:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AljEW-0007iu-PR for help-gnu-emacs@gnu.org; Wed, 28 Jan 2004 01:31:59 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AljEW-0007i9-3H for help-gnu-emacs@gnu.org; Wed, 28 Jan 2004 01:31:28 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:16434 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16434 [Perhaps we should move this discussion to emacs-devel@gnu.org.] > From: jasonr (Jason Rumney) @ f2s.com > Newsgroups: gnu.emacs.help > Date: 28 Jan 2004 00:25:51 +0000 > > Emacs will put data on the clipboard in whatever encoding you tell it > to, but most other programs will only use the System default. It seems like there's more here than meets the eye. Emacs in CVS can use UTF-8, UTF-16-BE and UTF-16-LE as well. I tried them, but the Windows clipboard viewer still shows garbage when I type "C-x RET X ENCODING RET M-w" (where ENCODING is one of the UTF-* encodings mentioned above) with Cyrillic characters in the region. What is it that Emacs doesn't do right here? Because if I copy Cyrillic text from the Explorer on the same system, the clipboard viewer does show it correctly.