If we need to edit the files in the Linux system, we may download them locally, open them with an editor, and then replace them, or edit them online with vim. However, sometimes it may be a system problem. When opening a file with a Chinese document, Chinese garbled will appear. At this time, we need to add a label supporting Chinese in the editor.
First, open. Vimrc
Second, add scripts
Save after adding.
Third, execution and operation
In this way, we can open the document with Chinese in VIM to see if the garbled code is missing. However, the general VPS system is built-in support of Chinese, rarely see not support.