From: João Távora Date: Wed, 6 Jun 2018 10:09:43 +0000 (+0100) Subject: * eglot.el (eglot--make-process): use 'utf-8-emacs-unix X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~512 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae85cee296c20d7c58866fafcba8755b159d4fab;p=emacs.git * eglot.el (eglot--make-process): use 'utf-8-emacs-unix Attempt to improve the situation reported in https://github.com/joaotavora/eglot/issues/14. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 950cf6ada89..5ede7910356 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -258,7 +258,7 @@ CONTACT is in `eglot'. Returns a process object." (apply #'open-network-stream name stdout contact)) (t (make-process :name name :command contact :buffer stdout - :coding 'no-conversion :connection-type 'pipe + :coding 'utf-8-emacs-unix :connection-type 'pipe :stderr (setq stderr (format "*%s stderr*" name))))))) (process-put proc 'eglot-stderr stderr) (set-process-buffer proc (get-buffer-create stdout))