]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-coding-regexp-alist): Use utf-8-with-signature for files
authorJason Rumney <jasonr@gnu.org>
Sat, 20 Dec 2008 09:33:52 +0000 (09:33 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 20 Dec 2008 09:33:52 +0000 (09:33 +0000)
starting with UTF-8 BOM.

lisp/ChangeLog
lisp/international/mule.el

index 2aa4e4def6ab2b0c33986888bccb3165afb42793..350ef2a3b10ed7dc54f63b925113fdad9f587300 100644 (file)
@@ -1,3 +1,8 @@
+2008-12-20  Jason Rumney  <jasonr@gnu.org>
+
+       * international/mule.el (auto-coding-regexp-alist): Use
+       utf-8-with-signature for files starting with UTF-8 BOM.
+
 2008-12-20  Ami Fischman  <ami@fischman.org>
 
        * bindings.el (mode-line-eol-desc): Use assoc to query
index 9563fa42733a14f0558f3faecf703fed3548ded4..23e3bfa8e4ba870bc29c24e1c004014b2bcd1328 100644 (file)
@@ -1600,7 +1600,7 @@ and the contents of `file-coding-system-alist'."
   '(("^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).