GNU bug report logs -
#13936
Default to UTF-8 for most Emacs source files
Previous Next
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
Another thought is to add support for a local variable 'lang'
to specify the language, HTML-style, e.g.:
;; Local Variables:
;; coding: utf-8
;; lang: ja
;; End:
where the "ja" comes from the usual standard list (see Internet BCP 47
and <http://www.iana.org/assignments/language-subtag-registry>).
Emacs could use the language to set charset-priority on a per-file basis.
This would be friendlier to users than the
"eval: (set-charset-priority 'japanese-jisx0208)" approach
that I mentioned earlier. But it'd be more implementation work.
In the meantime I will propose a stripped-down patch that does not
alter TUTORIAL.ja and the other CJK files; this should avoid the
charset problems that Mr. Handa mentioned.
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.