unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* UTF-8 Copy/Paste
@ 2005-01-05  3:49 Robert Uhl
  2005-01-05 19:01 ` Henrik Enberg
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Uhl @ 2005-01-05  3:49 UTC (permalink / raw)


I've got display of UTF-8 encoded files _within_ emacs working just
fine, but when I try to copy/paste between emacs and gnome-terminal,
gedit, gaim &c. I get gobbledygook.  Any ideas?  Right now I set up
Unicode with this:

  (set-language-environment "UTF-8")
  (set-buffer-file-coding-system 'utf-8)
  (setq locale-coding-system 'utf-8)
  (set-terminal-coding-system 'utf-8)
  (set-keyboard-coding-system 'utf-8)
  (set-selection-coding-system 'utf-8)
  (prefer-coding-system 'utf-8)

LANG=en_GB.UTF-8
LC_MONETARY=en_US

-- 
Robert Uhl <http://public.xdi.org/=ruhl>
`How do you explain bikini underwear and chocolate 
 sprinkles pressed between pages 102 and 103 of the 
 Canterbury Tales?  It must have been quite an evening.'

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: UTF-8 Copy/Paste
  2005-01-05  3:49 UTF-8 Copy/Paste Robert Uhl
@ 2005-01-05 19:01 ` Henrik Enberg
  0 siblings, 0 replies; 2+ messages in thread
From: Henrik Enberg @ 2005-01-05 19:01 UTC (permalink / raw)


Robert Uhl <ruhlNO@SPAM4dv.net> writes:

> I've got display of UTF-8 encoded files _within_ emacs working just
> fine, but when I try to copy/paste between emacs and gnome-terminal,
> gedit, gaim &c. I get gobbledygook.  Any ideas?  Right now I set up
> Unicode with this:

[...]

I have the following in my .emacs.  You may wish to experiment with the
values.

(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-05 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05  3:49 UTF-8 Copy/Paste Robert Uhl
2005-01-05 19:01 ` Henrik Enberg

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).