all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* UTF-8 clipboard problem
@ 2006-03-06 12:39 Tonguc Yumruk
  2006-03-08 14:17 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: Tonguc Yumruk @ 2006-03-06 12:39 UTC (permalink / raw)


Hi,

I'm using GNU Emacs 21.4a on Debian GNU/Linux Sarge. My systems
default locale is tr_TR.UTF-8. My settings about coding is like that:

(set-keyboard-coding-system 'utf-8) (custom-set-variables ;;;
'(current-language-environment "UTF-8") '(default-input-method
"rfc1345") ;;; )

M-x set-clipboard-coding-system RET utf-8 M-x
set-selection-coding-system RET utf-8

With these settings, I cannot copy/paste utf-8 text between Emacs and
other applications. For example when I copy some text from Firefox and
paste it in Emacs, it looks like that:

Original word: tıklama Copied&pasted: t^[$(C)%^[(Bklama

(Actually ^[ was a single escape character, but gnus complained about
it, being unprintable)

When I try to copy from emacs, and paste to other applications,
something stranger happens. The applications paste the UTF-8 encoded
Turkish characters as if they are pasted to a iso-8859-1 encoded file
(With Turkish characters replaced by some 2 character utf-8
representation).

Other applications just work fine within themselves, for example I can
copy&paste between Firefox and Gedit without any problems.

Thanks.

-- 
Love Respect GNU/Linux
########################################################################
[End of diatribe.  We now return you to your regularly scheduled
programming...]
             -- Larry Wall in Configure from the perl distribution
########################################################################
Tonguç Yumruk

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

end of thread, other threads:[~2006-03-08 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06 12:39 UTF-8 clipboard problem Tonguc Yumruk
2006-03-08 14:17 ` Peter Dyballa

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.