all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* automatically choosing encoding by filetype?
@ 2004-01-03 15:15 sara francis
  2004-01-03 16:24 ` Eli Zaretskii
  2004-01-03 17:09 ` Kai Grossjohann
  0 siblings, 2 replies; 3+ messages in thread
From: sara francis @ 2004-01-03 15:15 UTC (permalink / raw)


hi,

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

Any sugestions? Thanks in advance!

sf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: automatically choosing encoding by filetype?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2004-01-03 16:24 UTC (permalink / raw)


> Date: Sat, 03 Jan 2004 16:15:10 +0100
> From: sara francis <sf@naber.at>
> Newsgroups: gnu.emacs.help
> 
> 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

Its docs is part of the Emacs manual.  Go to the node
``International'' and start reading from there.

> Any sugestions?

See the documentation of the variable file-coding-system-alist.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: automatically choosing encoding by filetype?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Grossjohann @ 2004-01-03 17:09 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-03 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.