11 lines
380 B
EmacsLisp
Executable File
11 lines
380 B
EmacsLisp
Executable File
;; use utf-8
|
|
(set-language-environment 'utf-8)
|
|
(setq locale-coding-system 'utf-8)
|
|
(set-default-coding-systems 'utf-8)
|
|
(set-terminal-coding-system 'utf-8)
|
|
(set-selection-coding-system (if (eq system-type 'windows-nt) 'utf-16-le 'utf-8))
|
|
(prefer-coding-system 'utf-8)
|
|
|
|
;; treat clipboard input as a utf-8 string
|
|
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
|