diff options
author | Case Duckworth | 2020-10-22 23:35:26 -0500 |
---|---|---|
committer | Case Duckworth | 2020-10-22 23:35:26 -0500 |
commit | faada2995a3f98c33b3a2364e91f0d2db3cd9f5a (patch) | |
tree | 0f55569c601a687886f99c9b736314fac9051879 | |
parent | Change order (diff) | |
download | emacs-faada2995a3f98c33b3a2364e91f0d2db3cd9f5a.tar.gz emacs-faada2995a3f98c33b3a2364e91f0d2db3cd9f5a.zip |
Add encoding
-rw-r--r-- | init.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el index 11e487c..2644956 100644 --- a/init.el +++ b/init.el | |||
@@ -34,6 +34,15 @@ | |||
34 | :config | 34 | :config |
35 | (recentf-mode +1)) | 35 | (recentf-mode +1)) |
36 | 36 | ||
37 | ;; encoding | ||
38 | (set-charset-priority 'unicode) | ||
39 | (set-language-environment "UTF-8") | ||
40 | (set-default-coding-systems 'utf-8) | ||
41 | (set-terminal-coding-system 'utf-8) | ||
42 | (set-keyboard-coding-system 'utf-8) | ||
43 | (set-selection-coding-system 'utf-8) | ||
44 | (prefer-coding-system 'utf-8) | ||
45 | |||
37 | ;;; Save/Restore | 46 | ;;; Save/Restore |
38 | ;; save places in files | 47 | ;; save places in files |
39 | (use-package saveplace | 48 | (use-package saveplace |