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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: bug-gnu-emacs <at> gnu.org
Cc: Kenichi Handa <handa <at> gnu.org>
Subject: Default to UTF-8 for most Emacs source files
Date: Tue, 12 Mar 2013 14:16:47 -0700
[Message part 1 (text/plain, inline)]
Severity: wishlist
Tags: patch

Attached is a proposed patch to change the encoding to UTF-8 for most Emacs
source files that contain non-ASCII characters.  This shouldn't affect
the Emacs build or maintenance procedures, as Emacs itself can use
either UTF-8 or non-UTF-8 encodings.  Switching to UTF-8 does make it
easier to use non-Emacs tools, such as 'grep -r'.

This patch is a followon to Bug#13880 but is a bit more ambitious as
it affects more files.  Like the patch in Bug#13880, the patch is a
bit tricky to view, since it contains mixed encodings.

A few files remain in non-UTF-8 encodings, for technical reasons; see
admin/notes/unicode.  Perhaps some of these can be converted to UTF-8
some day, but they'll need more work.
[utf-8.txt (text/plain, attachment)]

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

Previous Next


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