unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jasonr (Jason Rumney) @  f2s.com
Subject: Re: Copying and pasting Cyrillic text between Emacs and other apps
Date: 28 Jan 2004 08:54:12 +0000	[thread overview]
Message-ID: <uad48wj0r.fsf@jasonrumney.net> (raw)
In-Reply-To: mailman.1484.1075271523.928.help-gnu-emacs@gnu.org

Eli Zaretskii <eliz@elta.co.il> 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.

  parent reply	other threads:[~2004-01-28  8:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-27  4:08 Copying and pasting Cyrillic text between Emacs and other apps eMaXer
2004-01-27 23:16 ` Paul Gorodyansky
2004-01-28  0:25   ` Jason Rumney
2004-01-28  6:33     ` Eli Zaretskii
     [not found]     ` <mailman.1484.1075271523.928.help-gnu-emacs@gnu.org>
2004-01-28  8:54       ` Jason Rumney [this message]
2004-01-28 13:36         ` Eli Zaretskii
2004-01-28 19:31         ` Paul Gorodyansky
2004-01-28 20:31           ` Jason Rumney
2004-01-29  5:29             ` Paul Gorodyansky
2004-01-29  8:54               ` Jason Rumney
     [not found]     ` <mailman.1502.1075297883.928.help-gnu-emacs@gnu.org>
2004-01-28 19:40       ` Paul Gorodyansky
2004-01-29  6:04         ` Eli Zaretskii
     [not found]     ` <mailman.1500.1075297455.928.help-gnu-emacs@gnu.org>
2004-01-28 20:28       ` Jason Rumney
2004-01-29  6:17         ` Eli Zaretskii
2004-01-28  6:27   ` Eli Zaretskii
2004-01-28  7:55     ` Eli Zaretskii
2004-01-28  9:29     ` Eli Zaretskii
     [not found]     ` <mailman.1491.1075282404.928.help-gnu-emacs@gnu.org>
2004-01-28 20:32       ` Paul Gorodyansky
2004-01-29  6:14         ` Eli Zaretskii
     [not found]   ` <mailman.1483.1075271175.928.help-gnu-emacs@gnu.org>
2004-01-28  9:01     ` Jason Rumney
2004-01-28 13:48       ` Eli Zaretskii
2004-01-28 19:45     ` Paul Gorodyansky
2004-01-28 19:57       ` Kevin Rodgers
2004-01-29  5:55       ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uad48wj0r.fsf@jasonrumney.net \
    --to=jasonr@f2s.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).