help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X-Windows cut&paste problems (Japanese characters)


From: Janusz S. Bień
Subject: Re: X-Windows cut&paste problems (Japanese characters)
Date: 28 Sep 2003 19:12:22 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95

On Sat, 27 Sep 2003  "Eli Zaretskii" <address@hidden> wrote:

> > From: address@hidden (=?iso-8859-2?q?Janusz_S._Bie=F1?=)
> > Date: 25 Sep 2003 18:00:10 +0200
> > 
> > I have recently observed several problems concerning cut&paste between
> > Emacs and some applications (Debian unstable, IceWM and GNOME).
> 
> 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: ć (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) `—�' to form `日'.

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


-- 
                     ,   
dr hab. Janusz S. Bien, prof. UW
Prof. Janusz S. Bien, Warsaw Uniwersity
address@hidden, address@hidden
http://www.mimuw.edu.pl/~jsbien/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]