I don’t find the encoding of current file, how to display it?

You can see there are some Chinese characters in the file, but I don’t know what the encoding it is.
Is there any way to let it always show on the emacs GUI?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have several ways to get (and set) the buffer encoding:
You can see with the
Uin the mode-line that your buffer is in "Unicode", if you put the mouse over it, it will show in a tooltip the current buffer encoding.you can also see the current encoding with C-hv
buffer-file-coding-systemRETyou can change the whole buffer encoding for next save with C-xRETf
you can also change the detected encoding to force an other one and reload the file with C-xRETr
you can set an encoding for the next I/O command only with C-xRETc
there are some other possibilities, take a look on C-xRETC-h
Fix and diagnose:
find-file-literallyREThexl-find-fileRET or for current file M-xhexl-modeRETrecode-regionRET