File garbled characters in Linux

Source: Internet
Author: User
Solve Linux file garbled system installed, by default does not support file output in/etc/sysconfig/i18n file default # LANG & quot; en_US.UTF-8 & quot; # SUPPORTED & quot; en_US.UTF-8: en_US: en & quot; # SYSFONT & quot; latarcyrheb-sun16 & quot;

Fix file garbled characters in Linux
After the system is installed, file output is not supported by default.
Modify the/etc/sysconfig/i18n file
Default
# LANG = "en_US.UTF-8"
# SUPPORTED = "en_US.UTF-8: en_US: en"
# SYSFONT = "latarcyrheb-sun16"
Change
LANG = "zh_CN.GB18030"
LANGUAGE = "zh_CN.GB18030: zh_CN.GB2312: zh_CN"
SUPPORTED = "zh_CN.GB18030: zh_CN: zh"
SYSFONT = "lat0-sun16"
SYSFONTACM = "8859-15"
After modification, you may need to restart the machine.
 
 
 
This article is from the "Canghai Yisu" blog

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.