I am going to use Ubuntu Server as the Server. I did not pay attention to it during installation. I chose a Chinese character. After I entered the system, I found garbled characters. The figure is at the end. The solution is as follows: 1. use the vi editor to modify the/etc/default/local file. 2. replace the original Chinese encoding with the following LANG = "en_US.UTF-8" LANGUAGE = "en_US: en" 3. log out of the system and log on again. Note: There are temporary changes.
I am going to use Ubuntu Server as the Server. I did not pay attention to it during installation. I chose a Chinese character. After I entered the system, I found garbled characters. The figure is at the end.
The solution is as follows:
1. Use the vi editor to modify the/etc/default/local file.
2. Replace the original Chinese encoding with the following
LANG = "en_US.UTF-8"
LANGUAGE = "en_US: en"
3. log out of the system and log on again.
Note: there is also a temporary change method: Use the command export LANG = "en_US.UTF-8" and export LANGUAGE = "en_US: en"