From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: non-ASCII cut/paste emacs <-> mozilla Date: 16 Jul 2002 10:40:54 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp-2 X-Trace: main.gmane.org 1026783753 7096 127.0.0.1 (16 Jul 2002 01:42:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2002 01:42:33 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17UHMF-0001qL-00 for ; Tue, 16 Jul 2002 03:42:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17UHWx-0007cL-00 for ; Tue, 16 Jul 2002 03:53:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17UHM2-0001yw-00; Mon, 15 Jul 2002 21:42:18 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17UHLR-0001xw-00; Mon, 15 Jul 2002 21:41:41 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g6G1fTR16467; Tue, 16 Jul 2002 10:41:29 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g6G1ewX03501; Tue, 16 Jul 2002 10:41:07 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g6G1euT00906; Tue, 16 Jul 2002 10:40:57 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g6G1esS02665; Tue, 16 Jul 2002 10:40:54 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 8E8F937D5; Tue, 16 Jul 2002 10:40:54 +0900 (JST) Original-To: Eli Zaretskii System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 42 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5772 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5772 Eli Zaretskii writes: > > Has anyone else out there managed to get cut and paste between emacs and > > mozilla (v1.0) working for non-ASCII text? When I cut text out of > > mozilla and paste it into emacs, I get a question-mark for each > > noN-ASCII character; in the reverse direction, I get line-noise type > > stuff that I assume is the raw encoding. > > What is the character set of the non-ASCII characters you paste? It seems to happen with everything I've tried; I originally wanted to cut/paste japanese characters, for which C-x = says: charset: japanese-jisx0208 (JISX0208.1983/1990 Japanese Kanji: ISO-IR-87.) However, the same thing happens with `latin-iso8859-1' characters. > Also, can you please post one example of that ``line noise'' exactly > as displayed by Mozilla? If I try to paste this word: caf.ANi from emacs into mozilla, I get: caf? If I try to paste this word: $B3NG'(B from emacs into mozilla, I get: $(B3NG'(B where is a little graphical box. Interestingly enough, if I cut the above `$(B3NG'(B' gibberish out of mozilla, and paste _that_ into emacs, it looks correct in emacs! So mozilla is apparently just pasting the raw encoded characters from X, without interpretation. [However, that _doesn't_ happen with the latin-1 characters -- the `?' displayed in mozilla for `.ANi' is apparently a real question-mark.] > Finally, does anything change if you use > compound-text as your selection-coding-system? No. -Miles -- Run away! Run away!