Setting the coding system to utf-8 is still necessary on some systems

This commit is contained in:
contrapunctus 2020-06-10 12:02:50 +05:30
parent 36d24dfc56
commit 843d250189
1 changed files with 5 additions and 5 deletions

10
init.el
View File

@ -245,11 +245,11 @@
"C-c C-r" (lambda () (interactive) (revert-buffer t t)))
;;;; UTF-8 magic
;; (setq locale-coding-system 'utf-8)
;; (set-terminal-coding-system 'utf-8)
;; (set-keyboard-coding-system 'utf-8)
;; (set-selection-coding-system 'utf-8)
;; (prefer-coding-system 'utf-8)
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
;;;; Linewrapping
(add-hook 'org-mode-hook 'visual-line-mode)