Commit c855d682 authored by Jason Rumney's avatar Jason Rumney
Browse files

(auto-coding-regexp-alist): Use utf-8-with-signature for files

starting with UTF-8 BOM.
parent b2dab6c8
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
......
......@@ -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).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment