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

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

Re: Change encoding


From: Peter Dyballa
Subject: Re: Change encoding
Date: Fri, 7 Aug 2009 21:15:42 +0200


Am 07.08.2009 um 19:50 schrieb Christophe Jorssen:

And, by the way, is it possible to "read a file with this encoding", that is automatically convert the encoding of a file when opened (say the file
is encoded in ansinew and I'd like to have it in my buffer encoded in
utf-8).


Look into the Options menu -> Mule -> Set Coding Systems!

File local variables can set an encoding:

        Comment mark(s) -*- mode: LaTeX; coding: utf-8; -*-

in the first six lines of the file (I think) or at the end:

        %%% Local Variables:
        %%% mode: latex
        %%% TeX-master: t
        %%% coding: utf-8-unix
        %%% TeX-command-default: "XeLaTeXx"
        %%% End:

'%%%' is the set of three TeX comment marks.

--
Greetings

  Pete

I love deadlines. I love the whooshing noise they make as they go by.
                                – Douglas Adams







reply via email to

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