all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: emacs-devel@gnu.org
Subject: Re: non-ASCII cut/paste emacs <-> mozilla
Date: 16 Jul 2002 10:40:54 +0900	[thread overview]
Message-ID: <buofzykphzt.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <Pine.SUN.3.91.1020715191641.12063A-100000@is>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 1556 bytes --]

Eli Zaretskii <eliz@is.elta.co.il> 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^[.A^[Ni
from emacs into mozilla, I get:  caf?

If I try to paste this word:     ^[$B3NG'^[(B 
from emacs into mozilla, I get:  <box>$(B3NG'<box>(B
where <box> is a little graphical box.

Interestingly enough, if I cut the above `<box>$(B3NG'<box>(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 `^[.A^[Ni' 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!

  reply	other threads:[~2002-07-16  1:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15  7:52 non-ASCII cut/paste emacs <-> mozilla Miles Bader
2002-07-15 16:18 ` Eli Zaretskii
2002-07-16  1:40   ` Miles Bader [this message]
2002-07-16  4:37     ` Eli Zaretskii
2002-07-16  4:55       ` Miles Bader
2002-07-16  4:56         ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2002-07-16 13:07 Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buofzykphzt.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.