Set Linux to support Chinese

Time:2020-2-15

1. first of allcommandinputlocale, you can seeLinuxThe default system language is English

 

 

 2.vim ~/.bashrcOpen this file, which is equivalent to the system configuration file

 

 

 3.After opening, input the last three lines of commands into the document, and finally save to exit

 

 

 4.Run the modify file with the commandsource ~/.bashrc, if the operation is not successful, you can addsudo,sudoyesrootPermission Operation

After operation, input againlocaleCommand to check whether the system language has been changed to

 

 

 5.View current file information

 

 

6.Our Chinese display is set successfully!

7. If there is still a problem, look at the connection terminalxshellIs the encoding format ofutf-8