In the Emacs Manual (50.4.2) as an example of init file examples we have this by Richard Stallaman:
Set up defaults for the Latin-1 character set, which supports most of the languages of Western Europe.
(set-language-environment "Latin-1")
I am curious as to why the manual not suggest utf-8
? Could this be an historical artifact? If so, why has it never been updated? Is this merely and example and not a recommendation? Perhaps there is an advantage to using Latin 1
?
(set-language-environment "UTF-8") (prefer-coding-system 'utf-8) (setq-default buffer-file-coding-system 'utf-8)