changeset 100589:d6746b17d747

(auto-coding-regexp-alist): Use utf-8-with-signature for files starting with UTF-8 BOM.
author Jason Rumney <jasonr@gnu.org>
date Sat, 20 Dec 2008 09:29:54 +0000
parents 38f9e9e2dad2
children 997116dda84c
files lisp/international/mule.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule.el	Sat Dec 20 08:01:12 2008 +0000
+++ b/lisp/international/mule.el	Sat Dec 20 09:29:54 2008 +0000
@@ -1600,7 +1600,7 @@
   '(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)
     ("\\`\xFE\xFF" . utf-16be-with-signature)
     ("\\`\xFF\xFE" . utf-16le-with-signature)
-    ("\\`\xEF\xBB\xBF" . utf-8)
+    ("\\`\xEF\xBB\xBF" . utf-8-with-signature)
     ("\\`;ELC\024\0\0\0" . emacs-mule))	; Emacs 20-compiled
   "Alist of patterns vs corresponding coding systems.
 Each element looks like (REGEXP . CODING-SYSTEM).