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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 13936 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
Subject: bug#13936: Default to UTF-8 for most Emacs source files
Date: Mon, 18 Mar 2013 09:27:44 -0400
>> 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)

We could indeed do something like that in those cases where the
preferred charset is the same for the whole file.
[ Tho with only 2 semi-colons on each line, please.  ]

> That relies on enable-local-eval.  The default is to query, which is not
> a good thing for a tutorial.

That can easily be changed if we decide it's a good solution.


        Stefan




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

Previous Next


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