From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Rasmussen Newsgroups: gmane.emacs.help Subject: Saving in Latin1 with emacs Date: Fri, 19 Dec 2003 14:33:16 +0100 Organization: UNI-C Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1071851587 14326 80.91.224.253 (19 Dec 2003 16:33:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2003 16:33:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 19 17:33:01 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 1AXNYd-00066f-00 for ; Fri, 19 Dec 2003 17:33:00 +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 1AXOV2-0004GE-Cu for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Dec 2003 12:33:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!uninett.no!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: oek.dk Original-X-Trace: news.net.uni-c.dk 1071840432 22694 62.61.154.25 (19 Dec 2003 13:27:12 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Fri, 19 Dec 2003 13:27:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: en-us, en Original-Xref: shelby.stanford.edu gnu.emacs.help:119518 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:15457 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15457 I have a file containing text in some weird encoding. 'file' says: Non-ISO extended-ASCII English text, with very long lines, with CRLF, NEL line terminators Basically, I want to convert this text to Latin1. I have tried recode and iconv assuming the text was utf-8, but they both claim that it is not utf-8. Maybe it is a mix of several encodings? I don't know. But my idea is this: emacs seems to be able to _show_ the file just fine, regardless of whatever encoding it is. So I'm thinking: It must be able to save this file in Latin1. How do I do that? /David