Jean-Christophe Helary
2018-11-25 02:55:02 UTC
What have I possibly done to have my .emacs.el display number sequences instead of accented letters ?
I just noticed that a few days ago...
for ex:
;; pour h\303\251riter du $PATH quand Emacs est lanc\303\251 hors de la ligne de commande
Also, it is not only a display issue, when I type such accented sequences I can only see the number sequences...
Other files (normal text files, etc.) are not affected by this behavior.
To make sure that I use UTF-8 everywhere I have this code:
;; 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)
(when (display-graphic-p)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)))
It must be something trivial but I have no idea where to start.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
I just noticed that a few days ago...
for ex:
;; pour h\303\251riter du $PATH quand Emacs est lanc\303\251 hors de la ligne de commande
Also, it is not only a display issue, when I type such accented sequences I can only see the number sequences...
Other files (normal text files, etc.) are not affected by this behavior.
To make sure that I use UTF-8 everywhere I have this code:
;; 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)
(when (display-graphic-p)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)))
It must be something trivial but I have no idea where to start.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune