I used erlang for the pc to develop, one was mac os x 10.6, the other was mac os x 10.7.
In the ".emacs"
file of both pc it contains the following script
;;handle emacs utf-8 input (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (prefer-coding-system 'utf-8)
But when I entered a note, including Chinese characters on one PC, and saved it, and booted onto another computer. Chinese characters cannot be displayed correctly. Same story for reverse work.
I want to know how to check the current type of file encoding? Can any team do this?
source share