* Saving in Latin1 with emacs
@ 2003-12-19 13:33 David Rasmussen
2003-12-19 14:11 ` David Kastrup
0 siblings, 1 reply; 4+ messages in thread
From: David Rasmussen @ 2003-12-19 13:33 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Saving in Latin1 with emacs
2003-12-19 13:33 Saving in Latin1 with emacs David Rasmussen
@ 2003-12-19 14:11 ` David Kastrup
2003-12-19 14:26 ` Jesper Harder
0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2003-12-19 14:11 UTC (permalink / raw)
David Rasmussen <david.rasmussen@gmx.net> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-19 17:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-19 13:33 Saving in Latin1 with emacs David Rasmussen
2003-12-19 14:11 ` David Kastrup
2003-12-19 14:26 ` Jesper Harder
2003-12-19 17:36 ` David Rasmussen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.