diff --git a/core/core-spacemacs.el b/core/core-spacemacs.el index c801b42f9..1271d6d35 100644 --- a/core/core-spacemacs.el +++ b/core/core-spacemacs.el @@ -69,6 +69,9 @@ (defun spacemacs/init () "Create the special buffer for `spacemacs-mode' and perform startup initialization." + ;; explicitly set the prefered coding systems to avoid annoying prompt + ;; from emacs (especially on Microsoft Windows) + (prefer-coding-system 'utf-8) ;; dotfile init (dotspacemacs/load-file) (dotspacemacs|call-func dotspacemacs/init "Calling dotfile init...")