unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Rasmussen <david.rasmussen@gmx.net>
Subject: Saving in Latin1 with emacs
Date: Fri, 19 Dec 2003 14:33:16 +0100	[thread overview]
Message-ID: <bruubg$m56$1@news.net.uni-c.dk> (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

             reply	other threads:[~2003-12-19 13:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-19 13:33 David Rasmussen [this message]
2003-12-19 14:11 ` Saving in Latin1 with emacs David Kastrup
2003-12-19 14:26   ` Jesper Harder
2003-12-19 17:36     ` David Rasmussen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bruubg$m56$1@news.net.uni-c.dk' \
    --to=david.rasmussen@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).