From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Monsorno Newsgroups: gmane.emacs.help Subject: Re: how to change file coding system Date: Tue, 16 Aug 2005 11:22:28 +0200 Organization: Schlund + Partner AG Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1124185744 12663 80.91.229.2 (16 Aug 2005 09:49:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2005 09:49:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 16 11:48:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E4y3y-0003Rl-Uq for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Aug 2005 11:48:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4y7O-0006V1-GC for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Aug 2005 05:52:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.schlund.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: p7223e3d4.np.gmx.net Original-X-Trace: schlund.de 1124184105 8067 212.227.35.114 (16 Aug 2005 09:21:45 GMT) Original-X-Complaints-To: usenet@schlund.de Original-NNTP-Posting-Date: Tue, 16 Aug 2005 09:21:45 +0000 (UTC) User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:133221 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:28748 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28748 Eli Zaretskii writes: > Sorry, I don't understand this. Please show the details. Ok, I did the following: I created 2 identical files, containing the string "überfall": ,---- | monsorno@mmdev ~/work/workspace.c/gmx $ file bla* | bla.eclipse: ISO-8859 text | bla.emacs: ISO-8859 text `---- I then opened "bla.eclipse" with eclipse and saved it again, which lead to this: ,---- | monsorno@mmdev ~/work/workspace.c/gmx $ file bla* | bla.eclipse: UTF-8 Unicode text | bla.emacs: ISO-8859 text `---- Opening "bla.eclipse" with emacs, shows me the string "�berfall". Changing the file encoding with "C-x f iso-latin-1-unix" and saving leads to: ,---- | monsorno@mmdev ~/work/workspace.c/gmx $ file bla* | bla.eclipse: UTF-8 Unicode text | bla.emacs: ISO-8859 text `---- Somewhere in the middle I got lost. Can anyone help me out? -- Martin