From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jasonr (Jason Rumney) @ f2s.com Newsgroups: gmane.emacs.help Subject: Re: Copying and pasting Cyrillic text between Emacs and other apps Date: 28 Jan 2004 08:54:12 +0000 Organization: freedom2surf Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <36b165a.0401271516.c68fa38@posting.google.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075280632 32638 80.91.224.253 (28 Jan 2004 09:03:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2004 09:03:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 10:03: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 1Allbo-00084W-00 for ; Wed, 28 Jan 2004 10:03: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 1Allau-0008IM-Q3 for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2004 04:02:44 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: i-195-137-77-250.freedom2surf.net Original-X-Trace: news.freedom2surf.net 1075280061 32249 195.137.77.250 (28 Jan 2004 08:54:21 GMT) Original-X-Complaints-To: abuse@freedom2surf.net Original-NNTP-Posting-Date: Wed, 28 Jan 2004 08:54:21 +0000 (UTC) X-Face: .PruP48JRO{Z6Rfz?YkZ>)zR+7!Up"`!1Cvq{fGd)@K; y]C:8r\CrJ^Mj\_U"9*WD2 I#zdK_#tw]y9*Y$?ge&b23Zt7zpknL{)F7Px4DVSY6b9dg[^VtkN-R_$YJ0cL''j[, }O#k{k| User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!solnet.ch!solnet.ch!81.31.101.51.MISMATCH!entanet!news.freedom2surf.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:120496 Original-To: help-gnu-emacs@gnu.org 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:16443 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16443 Eli Zaretskii writes: > 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. Your system default is probably whatever 8bit encoding Windows uses for Hebrew (I suspect not the ISO one). It is not UTF-8 or UTF-16. > What is it that Emacs doesn't do right here? Emacs doesn't use UNICODE_TEXT format. Maybe it should, but we have to detect if it is available somehow, since blindly using it will cause other apps to see nothing on the clipboard. We also need to know whether CJK tables are loaded in East Asian locales, or Emacs' conversion to UTF-16 will produce garbage, and we'll end up with worse results than using the system default encoding for most East Asian users.