Or which one should I use for what purpose? Do I believe that the utf-8-emacs encoding system is for emacs lisp files, and utf-8 is for text files?
Mx describe-coding-system for two returns:
U -- utf-8-emacs Support for all Emacs characters (including non-Unicode characters). Type: utf-8 (UTF-8: Emacs internal multibyte form) EOL type: Automatic selection from: [utf-8-emacs-unix utf-8-emacs-dos utf-8-emacs-mac] This coding system encodes the following charsets: emacs U -- utf-8 (alias: mule-utf-8) UTF-8 (no signature (BOM)) Type: utf-8 (UTF-8: Emacs internal multibyte form) EOL type: Automatic selection from: [utf-8-unix utf-8-dos utf-8-mac] This coding system encodes the following charsets: unicode
Not sure what is meant by
Support for all Emacs characters (including non-Unicode characters).
source share