During centos installation, english is selected when the language pack is installed. after installation, garbled characters are always reported when you browse the Chinese web page or view Chinese documents. Therefore, you must install the Chinese language pack, if you cannot install from the installation disk, you can use yum to install yumgroupinstall & lt; language & gt;-support. in the preceding command, & lt; language & gt; is one of the following
During centos installation, english is selected when the language pack is installed. after installation, garbled characters are always reported when you browse the Chinese web page or view Chinese documents. Therefore, you must install the Chinese language pack, if you cannot install it from the installation disk, you can install it using yum. the installation method is as follows:
Yum groupinstall -Support
In the preceding command, Is one of the following: assamese, bengali, chinese, gujarati, hindi, Japan, kannada, korean, malayalam, marathi, oriya, punjabi, sinhala, tamil, thai, or telegu.
Locale-a: View Supported languages
LANG = zh_CN.gb2312 is set to Chinese and only valid for the current time
/Etc/sysconfig/i18n
Change LANG = "zh_CN.UTF-8" to LANG = "en_US.UTF-8"