help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

numbers instead of accented letters...


From: Jean-Christophe Helary
Subject: numbers instead of accented letters...
Date: Sun, 25 Nov 2018 11:55:02 +0900

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]