GNU bug report logs - #13936
Default to UTF-8 for most Emacs source files

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 12 Mar 2013 21:23:01 UTC

Severity: wishlist

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: handa <handa <at> gnu.org>
Cc: 13936 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: bug#13936: Default to UTF-8 for most Emacs source files
Date: Mon, 18 Mar 2013 00:22:28 -0700
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.




This bug report was last modified 12 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.