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

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

Re: Using utf-8 and only utf-8


From: Maurí­cio
Subject: Re: Using utf-8 and only utf-8
Date: Tue, 26 Aug 2008 22:48:29 -0300
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Nikolaj Schumacher a écrit :
Maurí­cio <briqueabraque@yahoo.com> wrote:

Is it possible to set something
in .emacs so that emacs will
always, no matter what, save any
file in utf-8 (even those that
were not utf-8 when they were
open)?

Yes, edit `file-coding-system-alist'.  But I'd leave some of the
exceptions (e.g. ".elc") in there.


regards,
Nikolaj Schumacher




I just added this to my .emacs:

(prefer-coding-system 'utf-8)
(modify-coding-system-alist 'file ".*" 'utf-8)

Is it the proper way of doing that? (Sorry,
beginner question…)





reply via email to

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