emacs中指定编码
可以在文件头增加: -*- coding: gb2312; -*-相关键:C-x RET r TAB会列出相关的编码
C-x <RET> f coding <RET>
Use coding system coding for saving or revisiting the visited file in the current buffer.
C-x <RET> c coding <RET>
Specify coding system coding for the immediately following command.
C-x <RET> r coding <RET>
Revisit the current file using the coding system coding.
M-x recode-region <RET> right <RET> wrong <RET>
Convert a region that was decoded using coding system wrong, decoding it using coding system right instead.
页:
[1]