From: David Hanak <dhanak-9Zn/qaPSiLf0Rh6LxjfsapVzexx5G7lz@public.gmane.org>
Subject: Windows clipboard copy/paste
Date: Fri, 12 Nov 2004 15:14:31 -0600 [thread overview]
Message-ID: <ubre2srbc.fsf@isis.vanderbilt.edu> (raw)
Hi,
(Disclaimer: I know this topic has been addressed several times before,
but even after a considerable time of googling I was unable to find a
definite answer, so here goes.)
I'm using NT/Emacs 21.3.50.1 (some kind of custom build found on the
web) under Windows XP (SP2):
GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of 2004-02-13 on BERATUNG4
And I have some trouble copying international text to/from the system
clipboard. Most of the time I need to copy latin-2 characters
(Hungarian being my mothertounge), although every once in a while it
would be advantageous to be able to copy other international characters
as well.
If I take this accented sequence, for example "áéíóőűŐŰ", and copy it to
the clipboard, the last four characters (which don't exist only in the
latin-2 charset) become ????. In the other direction, if I copy a
Hungarian accented 'ő' from another windows application onto the
clipboard, and yank it into Emacs, I get 'o"' or 'õ'.
Since I have x-select-enable-clipboard set to t, this messes up the
Emacs-only copy/yank cycle, too. I tried playing around with
'set-selection-coding-system' and 'set-w32-system-coding-system', but it
didn't really work. Setting the selection coding system *does* help a
bit with the latin-2 characters, but it's still not perfect, because
then an 'ő' copied from Emacs becomes 'õ' in other applications, and of
course makes a mess of non latin-2 characters. No better luck with
UTF-8 or UTF-16 either.
Is there a solution, or I just have to bear with it?
Thanks,
--
David Hanak - Research Engineer
Institute for Software Integrated Systems | http://www.isis.vanderbilt.edu
Vanderbilt University | Work phone: (615) 343 1319
Box 1829, Station B, Nashville, TN 37235 | PGP key ID: 266BC45F
next reply other threads:[~2004-11-12 21:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-12 21:14 David Hanak [this message]
2004-11-12 21:43 ` Windows clipboard copy/paste Benjamin Riefenstahl
2004-11-12 21:58 ` David Hanak
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=ubre2srbc.fsf@isis.vanderbilt.edu \
--to=dhanak-9zn/qapsilf0rh6lxjfsapvzexx5g7lz@public.gmane.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).