help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UTF-8 clipboard problem


From: Tonguc Yumruk
Subject: UTF-8 clipboard problem
Date: Mon, 06 Mar 2006 14:39:35 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]