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: Thu, 18 Aug 2005 10:05:42 +0200 Organization: Schlund + Partner AG Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124356232 5411 80.91.229.2 (18 Aug 2005 09:10:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2005 09:10:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 18 11:10:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5gPB-0003Bs-9V for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 11:09:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5gE0-0003fU-OX for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Aug 2005 04:58:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!news.schlund.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: p7223e3d4.np.gmx.net Original-X-Trace: schlund.de 1124352294 6206 212.227.35.114 (18 Aug 2005 08:04:54 GMT) Original-X-Complaints-To: usenet@schlund.de Original-NNTP-Posting-Date: Thu, 18 Aug 2005 08:04:54 +0000 (UTC) User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:133284 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:28810 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28810 Eli Zaretskii writes: >> I tried many ways of opening the file > > But none of them is what I suggested... Sure! I should have said that I tried many ways /including/ the one suggested by you. When emacs asks me what coding system to use after pressing C-x c, the default it suggests (in parentheses on the modeline) is "mule-utf-8". After opening it your way, buffer-file-coding-system's value is raw-text-unix, nevertheless. >> Some details are in my followup to Peter's posting. > > But none of that clears up the situation in any way... They are just > random trials, nothing more. > > Please try my suggestions. Alternatively, send the offending file(s) > as binary attachments (preferably base64-encoded), and someone will > figure out what's wrong. I will append the files. As I don't know how to base64-encode it explicitly and well, I will just append also a tar file containing the three files. > In any case, the fact that Emacs thinks the file is encoded > raw-text-unix indicates that there are some bytes in the file that > don't belong to ISO-8859. Perhaps that clue will help you solve the > problem (you can use hexl-find-file to see the raw bytes in the file). Hmm, this only shows me, that file (the command) seems to be correct with it's suggestions. So it seems, emacs is not. -- Martin