Query and modify RedHat encoding formats

Source: Internet
Author: User
RedHat encoding format query and modification 1. query the encoding format command (case sensitive) Ruby code echo $ LANG2. set the encoding format (take UTF-8 as an example) method 1. after setting this method, you must restart it to make it take effect for www.2cto. comRuby code vi/etc/sysconfig/I...
RedHat encoding format query and modification 1. query encoding format commands (case sensitive) Ruby code echo $ LANG 2. method 1 to set the encoding format (taking UTF-8 as an example. after setting this method, must be restarted to take effect www.2cto.com Ruby code vi/etc/sysconfig/i18n # LANG = "ja_JP.UTF-8" <--- comment out the original encoding LANG = "en_US.UTF-8" <--- encoding format: en_US.UTF-8 SUPPORTED = "en_US.UTF-8: en_US: en: ja_JP.UTF-8: ja_JP: ja" SYSFONT = "latarcyrheb-sun16" method 2. this method takes effect immediately. However, after the current session is disconnected, the setting becomes invalid and is restored to the setting content in the i18n file. Ruby code # export LANG = en_US.UTF-8
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.