Home >System Tutorial >LINUX >How to solve the diamond garbled problem in Linux? How to fix Linux diamond garbled characters?
Solution to Linux rhombus garbled code:
Execute command: vim /var/lib/locales/supported.d/local
Delete the original content inside and add it as:
en_US.UTF-8 UTF-8
Execute command: vim /etc/default/locale
change into:
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
Remember to save after modification. Please use root permissions to enter the modification.
Then restart directly and it will be OK.
The above is the detailed content of How to solve the diamond garbled problem in Linux? How to fix Linux diamond garbled characters?. For more information, please follow other related articles on the PHP Chinese website!