From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jsbien@mimuw.edu.pl (=?iso-8859-2?q?Janusz_S._Bie=F1?=) Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: X-Windows cut&paste problems (Japanese characters) Date: 28 Sep 2003 19:12:22 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87wubson0p.fsf@mimuw.edu.pl> References: <87r824n9it.fsf_-_@mimuw.edu.pl> <7137-Sat27Sep2003134932+0300-eliz@elta.co.il> Reply-To: jsbien@mimuw.edu.pl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1064769314 6230 80.91.224.253 (28 Sep 2003 17:15:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2003 17:15:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Sep 28 19:15:12 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3f8a-0007wz-00 for ; Sun, 28 Sep 2003 19:15:12 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3f8Z-0007PE-00 for ; Sun, 28 Sep 2003 19:15:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3f7o-0005oK-RE for emacs-devel@quimby.gnus.org; Sun, 28 Sep 2003 13:14:24 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A3f7B-0005nv-Gv for emacs-devel@gnu.org; Sun, 28 Sep 2003 13:13:45 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A3f79-0005lb-Bk for emacs-devel@gnu.org; Sun, 28 Sep 2003 13:13:44 -0400 Original-Received: from [193.0.96.2] (helo=duch.mimuw.edu.pl) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 1A3f77-0005hC-Ir; Sun, 28 Sep 2003 13:13:42 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by duch.mimuw.edu.pl (Postfix) with ESMTP id B7DCC58FC; Sun, 28 Sep 2003 19:13:37 +0200 (CEST) Original-Received: from duch.mimuw.edu.pl ([127.0.0.1]) by localhost (duch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05435-06; Sun, 28 Sep 2003 19:13:36 +0200 (CEST) Original-Received: by duch.mimuw.edu.pl (Postfix, from userid 1009) id F2EFB5896; Sun, 28 Sep 2003 19:13:35 +0200 (CEST) Original-To: help-gnu-emacs@gnu.org, Emacs development discussions Original-Lines: 64 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95 X-Virus-Scanned: by amavisd-new X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16727 gmane.emacs.help:12848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12848 On Sat, 27 Sep 2003 "Eli Zaretskii" wrote: > > From: jsbien@mimuw.edu.pl (=3D?iso-8859-2?q?Janusz_S._Bie=3DF1?=3D) > > Date: 25 Sep 2003 18:00:10 +0200 > >=20 > > I have recently observed several problems concerning cut&paste between > > Emacs and some applications (Debian unstable, IceWM and GNOME). >=20 > The version of your Emacs will be of help, of course ;-) I've just tested that the problem occurs also in CVS Emacs, so I cross-post to emacs-devel. When I paste two kanji characters from Mozilla (Debian package 1.4-4) to Emacs 21.3.1. from the Debian package or to the CVS version compiled by myself (21.3.50.1), I get \x{65E5}\x{672C} The numbers in braces are the correct Unicode code points of the characters in question. I repeated the experiment in a different Debian installation. When I paste from Galeon 1.2.5 to Emacs 21.2.1 from the Debian package, I get just 2 question marks. However, when I paste them into exactly the same CVS version as above, I get two strange characters (displayed as question signs in reverse video), the first one being reported as "c with acute": ------------------------------------------------------------------------ character: =C4=87 (0346, 230, 0xe6, U+65E5) charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF)) code point: 230 syntax: which means: whitespace buffer code: 0xE6 file code: not encodable by coding system iso-8859-2 font: -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO8859-1 Composed with the following character(s) `=C2=97=A5' to form `=E6=97=A5'. There are text properties here: fontified t untranslated-utf-8 26085 composition (0 3 [326333]) ----------------------------------------------------------------------- The Unicode code point is correct, but the rest seems a complete mess :-(. Las but not least, a good news: the characters are pasted correctly in unicode-emacs. Best regards Janusz --=20 ,=20=20=20 dr hab. Janusz S. Bien, prof. UW Prof. Janusz S. Bien, Warsaw Uniwersity jsbien@mimuw.edu.pl, jsbien@uw.edu.pl http://www.mimuw.edu.pl/~jsbien/