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

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

Re: coding systems for reading files


From: Eli Zaretskii
Subject: Re: coding systems for reading files
Date: Fri, 15 Aug 2014 22:21:14 +0300

> Date: Fri, 15 Aug 2014 18:11:50 +0200
> From: Ernest Adrogué <address@hidden>
> 
> 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)

Since windows-1252 is a superset of latin-1, why does this make sense?




reply via email to

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