- Viewing character Set
locale
Copy the code
- Install en_US. Utf-8
locale-gen en_US.UTF-8
Copy the code
- Available locale
Locale-a 4. Change the encoding
Echo "export LC_ALL= en_us.utf-8 ">> /etc/profile-/ docker image Run the following code echo "export LC_ALL= en_us.utf-8" >> /root/Copy the code
source /etc/profile
source /root/.bashrc
Copy the code