emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF-8 encoded Lisp files
Date: Thu, 24 Sep 2015 17:29:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> > Since Emacs-24.4 the coding-system Emacs uses for .el files is
>> > `prefer-utf-8', i.e. it is explicitly defined to be "utf-8 if it is
>> > valid"
>> I don't think prefer-utf-8 does what you say here.  In any case, I've
>> seen the default decoding do incorrect things, and I see no reason to
>> risk that in files we control.
> Here's an example, btw:

>   emacs -Q
>   M-x set-locale-environment RET he_IL.ISO-8859-8 RET
>   C-x C-f doc/lispref/tips.texi RET

Hmm.... I don't think this is using prefer-utf-8.  `prefer-utf-8' is
used for *.el files via file-coding-system-alist.


        Stefan



reply via email to

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