1
vote
0answers
20 views

Change encoding of a text file in Emacs?

Emacs shows in a text file: Given a finite alphabet \246\262, (empty set) \2016\3221 denoting the set \2016\3221. But it should show Given a finite alphabet Σ, (empty set) ∅ denoting the set ...
3
votes
1answer
182 views

Special characters in Emacs dired and attachment paths on Windows 7: “\374” instead of “ü” displayed

I want to use dired+ in Emacs for browsing directory paths on Windows 7. I'm having problems with special characters like äöü in dired mode and in attachment paths: dired When I'm trying to ...
6
votes
1answer
223 views

How to export html from emacs org-mode that can be opened in Microsoft Word

I created an HTML file using Emacs (org-mode export), which I want to open in Microsoft Word. However, Word says it cannot open the file. In the details of the error message, it says: Reference ...
5
votes
1answer
1k views

How to switch back text encoding to UTF-8 with emacs?

Suddenly some of my text files, I'm editing with Emacs had changed and special characters were shown in a strange way, e. g. \344 instead of ä \374 instead of ü ... and so on. In another file I now ...
4
votes
1answer
140 views

What's wrong with `(add-to-list 'process-coding-system-alist '(“zsh” . utf-8))`?

In Emacs, I routinely use an inferior shell, invoked with M-x shell. I often need to specifically set its coding system, which I do with C-x RET p followed by utf-8 (twice). I want to do this once ...
0
votes
1answer
130 views

Emacs c-mode can't recognize utf-8?

I need to read one C++ head file which has some Chinese and was encoded using utf-8. Emacs should recognize this encoding, but it turns out: Then, I changed it to text-mode, it works: I also ...