unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: automatically choosing encoding by filetype?
Date: Sat, 03 Jan 2004 18:09:58 +0100	[thread overview]
Message-ID: <871xqhhsbd.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: 3ff6dd08$1@e-post.inode.at

sara francis <sf@naber.at> writes:

> I would like to confgure my emacs to automatically choose the correct
> encoding when opening an saving files.
> Espacially I would like all xml files (xsd,xsl,xslt,dtd,...) to be in
> utf-8 while all the rest should be in iso-8859-1 (latin-1) whih it
> currently defaults to.
> I couldn't find any docs on mule. I'm running emacs 21.3

Mule is integrated into Emacs 20 and higher.

See the variables file-coding-system-alist and auto-coding-alist.

Kai

      parent reply	other threads:[~2004-01-03 17:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-03 15:15 automatically choosing encoding by filetype? sara francis
2004-01-03 16:24 ` Eli Zaretskii
2004-01-03 17:09 ` Kai Grossjohann [this message]

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=871xqhhsbd.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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).