Emacs is recognized as one of the best code editors, and many users use Emacs on Linux. However, because the default encoding and the document encoding will cause Emacs to appear garbled frequently, let me introduce how to solve the garbled problem when opening Emacs under Linux.
Method 1:
Just C-x "RET" r (M-x revert-buffer-with-coding-system) to re-read this file with the specified encoding. Generally garbled is because of the use of latin or utf8 under emacs, and the open document is gb2312 code. If you don't remember the coding type, try it, basically gb2312 can solve it. Remember to use tabs to fill in the code is more convenient. Or you can view it by file file name or enca file name.
The choice here is gb18030-unix
Method 2:
Use unicad plugin to download unicad.el and save it to the appropriate directory (such as .mycs to configure my-elisp folder) To store the directory), then declare it in .emacs (require ‘unicad). This will automatically determine the encoding type the next time you open the document.
The above is the solution to open garbled Emacs under Linux. If you also encounter Emacs garbled problems, try the above method.
After installing the Ubuntu system, the system default screen resolution is too low. The 1280*1024 d
A lot of people want to know how to close a website on a Linux server because the website is on the
Lighttpd is an open source web server software, many friends encountered a lot of trouble during the
In the Linux system, if there is no relevant settings, then close a process, then he terminates, and
How Ubuntu uses the source command to execute files
Linux installation vagrant process encountered problems
Linux uses S3QL to create an encrypted file system
How to configure dynamic IP service for Linux system
How Linux sets up port forwarding for intranet access to intranet
How to use the find command in Linux
How to set the Grub2 password in Ubuntu
What can I do if I can't access mysql under Linux?
How to use the command to monitor the server under Linux
What should I do when VMware installs Ubuntu and reports piix4_smbus?
How to take a screenshot in the Linux system login interface?
How to set win7 system to prevent important files from being deleted
How to set up win8 virtual memory?
Win10 boot critical error "Start menu and Cortana can not work" how to solve?
Win7 32-bit flagship system to create a batch to achieve a key to unlock the registry coup
How does the Win10 system test the computer speed?
Vista system does not recognize hard disk during installation
Win10 system how to change the font