# HG changeset patch # User Jason Rumney # Date 1229765394 0 # Node ID d6746b17d7477e693dda9a8b5f0dfb5a4a518f39 # Parent 38f9e9e2dad2684b5b42956ac30cf05910cfe872 (auto-coding-regexp-alist): Use utf-8-with-signature for files starting with UTF-8 BOM. diff -r 38f9e9e2dad2 -r d6746b17d747 lisp/international/mule.el --- 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).