help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving in Latin1 with emacs


From: David Kastrup
Subject: Re: Saving in Latin1 with emacs
Date: 19 Dec 2003 15:11:22 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

David Rasmussen <address@hidden> writes:

> 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?

C-x C-m f latin1 RET

And then you save.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

[Prev in Thread] Current Thread [Next in Thread]