0

Emacs 26.1, Windows 10

In my init.el:

(set-language-environment "UTF-8")

But when I open text file the Emacs not show correct Cyrillic text. enter image description here

Why?

describe-variable -> buffer-file-coding-system 

show that file is encoded in utf-8-dos

0

Can you add (set-default-coding-systems 'utf-8) after (set-language-environment "UTF-8")? Here is a reference for dealing with Unicode http://ergoemacs.org/emacs/emacs_n_unicode.html. Take a look at the section How to set default file encoding?.

  • Not help. Same result. – Alexei Feb 13 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.