How to solve the linux Chinese character garbled code?
What this article shares with you is the solution to linux Chinese character garbled. I believe most people don't know how to solve it yet, so I sum up the following contents. Without saying much, let's read on.
1. Install the Chinese language pack
# yum-y groupinstall chinese-support
2. Set the corresponding character set
# # temporary effective # export LANG= "zh_CN.UTF-8" # set to Chinese # export LANG= "en_US.UTF-8" # set to English, I prefer this way export # # is permanent, edit / etc/sysconfig/i18nLANG= "zh_CN.UTF-8"
3. Restart
Reboot
The above is the introduction of linux Chinese character garbled solutions, the steps are simple and easy to operate, and the content of the article is compact step by step. I hope you can get something according to this article.