organize utf-8

This commit is contained in:
Jesús
2019-05-15 16:03:36 -05:00
parent 6cfcde4a8e
commit 2ff45b3dc8
2 changed files with 13 additions and 3 deletions

View File

@@ -16,6 +16,19 @@
(setq make-backup-files nil) ; stop creating backup~ files
(setq auto-save-default nil) ; stop creating #autosave# files
;;------------------------------
;; Core settings | UTF-8 please
;;------------------------------
(set-charset-priority 'unicode)
(set-language-environment "UTF-8")
(set-terminal-coding-system 'utf-8) ; pretty
(set-keyboard-coding-system 'utf-8) ; pretty
(set-selection-coding-system 'utf-8) ; please
(prefer-coding-system 'utf-8) ; with sugar on top
(setq locale-coding-system 'utf-8) ; pretty
(setq default-process-coding-system '(utf-8-unix . utf-8-unix))
(setq-default buffer-file-coding-system 'utf-8-auto-unix)
;;----------------------------------------------------------------------------
;; Editor configuration
;;----------------------------------------------------------------------------