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

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

coding systems for reading files


From: Ernest Adrogué
Subject: coding systems for reading files
Date: Fri, 15 Aug 2014 18:11:50 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi.

Say that when opening an existing file I want to try first with iso-latin-1
and if this fails try windows-1252.  How does one tell Emacs to do that?  If
I do

(set-coding-system-priority 'windows-1252)
(set-coding-system-priority 'latin-1)

only the latter shows up in the list shown by M-x describe-coding-system.

Thanks.



reply via email to

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