Open nasoundead opened 4 years ago
As title.
maybe can be solved as below:
(use-package mule :ensure nil :config
(set-language-environment "UTF-8") (set-buffer-file-coding-system 'utf-8-unix) (set-clipboard-coding-system 'utf-8-unix) (set-file-name-coding-system 'utf-8-unix) (set-keyboard-coding-system 'utf-8-unix) (set-next-selection-coding-system 'utf-8-unix) (set-selection-coding-system 'utf-8-unix) (set-terminal-coding-system 'utf-8-unix)
(when (eq system-type 'windows-nt) (set-language-environment "Chinese-GBK") (set-selection-coding-system 'gbk-dos) (set-next-selection-coding-system 'gbk-dos) (set-clipboard-coding-system 'gbk-dos)))
(setq system-time-locale "C") https://www.gnu.org/software/emacs/manual/html_node/elisp/Locales.html#Locales locales will affect format-time-string
As title.
maybe can be solved as below:
(use-package mule :ensure nil :config
(set-language-environment "UTF-8") (set-buffer-file-coding-system 'utf-8-unix) (set-clipboard-coding-system 'utf-8-unix) (set-file-name-coding-system 'utf-8-unix) (set-keyboard-coding-system 'utf-8-unix) (set-next-selection-coding-system 'utf-8-unix) (set-selection-coding-system 'utf-8-unix) (set-terminal-coding-system 'utf-8-unix)
(when (eq system-type 'windows-nt) (set-language-environment "Chinese-GBK") (set-selection-coding-system 'gbk-dos) (set-next-selection-coding-system 'gbk-dos) (set-clipboard-coding-system 'gbk-dos)))