How to convert from source coding system to latin-1

I have a file that was previously encoded in Latin. Now, when I open this file, I get only the raw encoding. This is -t:in the status bar. There are probably some non-Latin-1 characters in the file, at least other Latin-1 files open.

I want to change the file only to Latin-1. So, I C-x RETURN fbuffer up latin-1. However, when saving, I get non-encoded characters \344, which is ä \374, which is ü, etc. So, the characters are actually here, but for some reason are still misinterpreted.


As a result of the search, I found the \237culprit. It is odd that this character is not identified as non Latin-1 when saved, but causes the file to no longer be recognized as Latin-1.

+3
source share
1 answer

Try to find out what encoding the file is in. Then C-x Return c the file encoding C-x f file(i.e. open the file using its encoding). Then you can save it with latin-1.

+3
source

All Articles