Locale-------Linux Character set

Source: Internet
Author: User
Tags locale

View the current system character set

[Email protected] ~]# locale
Lang=zh_cn. UTF-8
Lc_ctype= "ZH_CN. UTF-8 "
Lc_numeric= "ZH_CN. UTF-8 "
Lc_time= "ZH_CN. UTF-8 "
Lc_collate= "ZH_CN. UTF-8 "
Lc_monetary= "ZH_CN. UTF-8 "
Lc_messages= "ZH_CN. UTF-8 "
Lc_paper= "ZH_CN. UTF-8 "
Lc_name= "ZH_CN. UTF-8 "
Lc_address= "ZH_CN. UTF-8 "
Lc_telephone= "ZH_CN. UTF-8 "
Lc_measurement= "ZH_CN. UTF-8 "
Lc_identification= "ZH_CN. UTF-8 "
Lc_all=

[Email protected] ~]# locale
Lang=en_us. UTF-8
Lc_ctype= "en_US. UTF-8 "
Lc_numeric= "en_US. UTF-8 "
Lc_time= "en_US. UTF-8 "
Lc_collate= "en_US. UTF-8 "
Lc_monetary= "en_US. UTF-8 "
Lc_messages= "en_US. UTF-8 "
Lc_paper= "en_US. UTF-8 "
Lc_name= "en_US. UTF-8 "
Lc_address= "en_US. UTF-8 "
Lc_telephone= "en_US. UTF-8 "
Lc_measurement= "en_US. UTF-8 "
Lc_identification= "en_US. UTF-8 "
Lc_all=

Lc_ctype

Character classification and case conversion.

Lc_collate

Collation order.

Lc_time

Date and time formats.

Lc_numeric

Non-monetary numeric formats.

Lc_monetary

Monetary formats.

Lc_messages

Formats of informative and diagnostic messages and
Interactive responses.

[[Email protected] ~]# env |grep LANG
Lang=zh_cn. UTF-8


[Email protected] ~]# Locale-a | grep zhzh_CNzh_CN.gb18030zh_CN.gb2312zh_CN.gbkZh_cn.utf8zh_HKzh_HK.big5hkscszh_HK.utf8zh_SGzh_ SG.gb2312zh_SG.gbkzh_SG.utf8zh_TWzh_TW.big5zh_TW.euctwzh_TW.utf8



[Email protected] ~]# Locale-a | grep En_USen_USen_US.iso88591en_US.iso885915en_US.utf8
[Email protected] ~]# vi/etc/sysconfig/i18nLANG= "ZH_CN. UTF-8 "sysfont="latarcyrheb-sun16"~                           

Locale-------Linux Character set

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.