emacs-devel
[Top][All Lists]
Advanced

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

Re: Loading souce Elisp faster


From: Eli Zaretskii
Subject: Re: Loading souce Elisp faster
Date: Mon, 25 Feb 2013 17:52:50 +0200

> Date: Mon, 25 Feb 2013 21:50:38 +0800
> From: Xue Fuqiao <address@hidden>
> Cc: Stefan Monnier <address@hidden>, address@hidden
> 
> > We can have "coding: utf-8;" tag at the first line.  Isn't it
> > enough?
> 
> Yes, we can.  But most Elisp source files have already been in utf-8 encoding.
> 
> In (info "(elisp) Coding Conventions"):
> 
>      If your program contains non-ASCII characters in string or
>      character constants, you should make sure Emacs always decodes
>      these characters the same way, regardless of the user's settings.
>      The easiest way to do this is to use the coding system
>      `utf-8-emacs' (*note Coding System Basics::), and specify that
>      coding in the `-*-' line or the local variables list.

utf-8-emacs and utf-8 are not the same encoding.  The former is a
variant used by Emacs internally, it won't be 100% recognizable by any
program except Emacs.



reply via email to

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