简体   繁体   English

如何在emacs中显示非ascii?

[英]How to display non-ascii in emacs?

I am looking at text files of Portuguese words in firefox, and I see accented characters correctly, but when I download the text files and open them in emacs, I see n\\372mero (which is número), rela\\347\\343o (which is relação), and so on. 我正在firefox中查看葡萄牙语单词的文本文件,并且可以正确看到带重音符号的字符,但是当我下载文本文件并在emacs中打开它们时,我看到的是n \\ 372mero(即número),rela \\ 347 \\ 343o(其中是relação),等等。 What needs to be done to display the words correctly in emacs? 要在emacs中正确显示单词,需要做些什么?

Try Mx revert-buffer-with-coding-system . 尝试Mx revert-buffer-with-coding-system It looks like the file is in latin-1 . 看起来该文件位于latin-1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM