|
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…)
[Prev in Thread] | Current Thread | [Next in Thread] |