From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sergei Pokrovsky Newsgroups: gmane.emacs.help Subject: Re: emacs, umlauts, x-windows text mark and paste Date: Tue, 16 Dec 2003 16:57:17 +0600 Organization: Magistral Telecom JV. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071572614 27351 80.91.224.253 (16 Dec 2003 11:03:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2003 11:03:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 12:03:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWCz8-0006XN-00 for ; Tue, 16 Dec 2003 12:03:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AWDvB-0003SX-FK for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2003 07:03:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.sovam.com!news.siberia.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: omega.nbsp.nsk.su Original-X-Trace: news.siberia.net 1071572238 1461 212.17.10.98 (16 Dec 2003 10:57:18 GMT) Original-X-Complaints-To: usenet@news.siberia.net Original-NNTP-Posting-Date: Tue, 16 Dec 2003 10:57:18 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (usg-unix-v) Cancel-Lock: sha1:KwtHODpAxLW5oRk3xrGsTiOUImQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:119375 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15314 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15314 >>>>> "josh" == erasurehead writes: josh> Hello Harald and Sergei, josh> thanks for your replies. josh> I've tried setting LC_ALL to german, C, de_DE, de_DE@euro, and josh> en_US.UTF-8 and then starting emacs. And what about the other application (your browser)? I guess, it is important that both of them are set consistently, so that the clipboard treatment is one same on both sides. josh> I can tell this makes a difference because the symbol in the josh> lower lefthand corner of emacs which indicates the default josh> encoding changes appropriately (e.g. -1 for de_DE (-> josh> iso-8859-1), and -u for en_US.UTF-8) However pasting in the josh> german text still makes garbage. josh> Also, i tried running C-x RET f josh> (set-buffer-file-coding-system) on the garbarged buffer and josh> tried many different encodings (which one should I choose?), josh> but it never changes the text in the buffer *one whit*! The buffer uses the internal Emacs encoding, and the file-coding-system should matter only when you save or "find" (= open) the file. josh> I would expect it to junk the entire screen if I pick josh> chinese-big5-unix, but it doesn't seem to care, the buffer josh> still looks the same. I had already tried this many times [...] -- Sergei