Another method for setting character encoding in Linux

Source: Internet
Author: User
Another way to set Linux character encoding is Linux general technology-Linux technology and application information. For more information, see the following. You can directly modify/etc/profile based on the settings of the character set.

Install software in certain English environments, such as Sun iPlanet.
???? Symptom

Run the following command:
Shell> LANG = en_US.utf8
Temporarily modify the language environment, which is normal

The following is a correct font environment variable.

Export LANG = zh_CN.GB18030
Export LC_CTYPE = "zh_CN.GB18030"
Export LC_NUMERIC = "zh_CN.GB18030"
Export LC_TIME = "zh_CN.GB18030"
Export LC_COLLATE = "zh_CN.GB18030"
Export LC_MONETARY = "zh_CN.GB18030"
Export LC_MESSAGES = "zh_CN.GB18030"
Export LC_PAPER = "zh_CN.GB18030"
Export LC_NAME = "zh_CN.GB18030"
Export LC_ADDRESS = "zh_CN.GB18030"
Export LC_TELEPHONE = "zh_CN.GB18030"
Export LC_MEASUREMENT = "zh_CN.GB18030"
Export LC_IDENTIFICATION = "zh_CN.GB18030"
Export LC_ALL =
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.