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

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

bug#13936: Default to UTF-8 for most Emacs source files


From: Paul Eggert
Subject: bug#13936: Default to UTF-8 for most Emacs source files
Date: Mon, 18 Mar 2013 00:22:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4

On 03/13/2013 08:48 PM, handa wrote:
> The same can be said for etc/tutorials/TUTORIAL.ja.
> This file should be shown in a proper Japanese font
> even for a user not in Japanese lang. env.

For a file like TUTORIAL.ja, the Local Variables: section
can specify a preferred charset.  Wouldn't this address the issue for
non-Japanese users?  Something like this, say:

;;; Local Variables:
;;; coding: utf-8
;;; eval: (set-charset-priority 'japanese-jisx0208)
;;; End:

Or perhaps we can come up with a better way to specify a file-local
charset priority.





reply via email to

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