unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: Paste international characters with Emacs 21.3 on Windows
Date: 09 May 2004 08:26:56 +0200	[thread overview]
Message-ID: <uekpu2k0f.fsf@gnu.org> (raw)
In-Reply-To: <ullk2ag0w.fsf@jasonrumney.net>

> From: jasonr (Jason Rumney) @  f2s.com
> Newsgroups: gnu.emacs.help
> Date: Sat, 08 May 2004 20:13:35 +0100
> 
> > I'm using GNU Emacs 21.3.1 [(i386-mingw-nt5.0.2195) of 2004-03-10 on
> > NYAUMO] on Windows 2000.  Using the LEIM I can enter Japanese text.
> > But I can't paste Japanese text from other Windows applications.
> > The NEWS file suggests setting selection-coding-system to
> > utf-16-le-dos, but that doesn't work.
> 
> The NEWS file is wrong.

First, it's not in NEWS, it's in PROBLEMS.  Second, the entry's name
is "Known problems with the MS-Windows port of Emacs 21.2", so it
might be out of date for v21.3.

Having said that, here's what that entry has to say about this issue:

    Windows uses UTF-16 encoding to deal with multilingual text (text not
    encodable in the `system codepage') in the clipboard.  To deal with
    this, load the library `utf-16' and use `set-selection-coding-system'
    to set the clipboard coding system to `utf-16-le-dos'.  This won't
    cope with Far Eastern (`CJK') text; if necessary, install the Mule-UCS
    package (see etc/MORE.STUFF), whose `utf-16-le-dos' coding system does
    encode a lot of CJK characters.

If this is plain wrong (i.e., will never help, no matter what the
circumstances and versions of Windows are involved), somebody should
remove this text from PROBLEMS.

  reply	other threads:[~2004-05-09  6:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-08 16:51 Paste international characters with Emacs 21.3 on Windows Gareth Rees
2004-05-08 19:13 ` Jason Rumney
2004-05-09  6:26   ` Eli Zaretskii [this message]
     [not found]   ` <mailman.4107.1084080337.1061.help-gnu-emacs@gnu.org>
2004-05-10 13:37     ` Gareth Rees
2004-05-10 15:00       ` 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=uekpu2k0f.fsf@gnu.org \
    --to=eliz@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.
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).