From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tonguc Yumruk Newsgroups: gmane.emacs.help Subject: UTF-8 clipboard problem Date: Mon, 06 Mar 2006 14:39:35 +0200 Message-ID: <877j77g320.fsf@terra.galaxy> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1141687599 12697 80.91.229.2 (6 Mar 2006 23:26:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Mar 2006 23:26:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 07 00:26:38 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FGP5r-0001Kn-Rw for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Mar 2006 00:26:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGP5r-0007UN-17 for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Mar 2006 18:26:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: individual.net I/v79yyFCK735zLcT8EqEgvV2I4COPusBTOyG9+H991+eDgxYq User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:SO59sTv4Ls8pSr0E3OY3i7q+6hM= Original-Xref: shelby.stanford.edu gnu.emacs.help:137967 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33594 Archived-At: 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