CentOS Chinese garbled modified character encoding using CentOS support Chinese

Source: Internet
Author: User
Tags i18n

Install the Chinese Language pack:

Yum Groupinstall Chinese-support

Modify the character encoding configuration and create it without this file:

vim/etc/sysconfig/i18n

The following changes are included:

Lang= "ZH_CN. Gb18030″
Supported= "ZH_CN. Utf-8:zh_cn:zh:en_us. Utf-8:en_us:en "
Sysfont= "Latarcyrheb-sun16″

The i18n file is used to set the system language, such as: ZH_CN. UTF-8, ZH_CN. GB18030, ZH_TW. Big5, en_US. UTF-8 and so on.

Three environment variables in i18n:
Lang variable, set the system language.
The supported variable determines the language that the system supports, i.e. the language that the system can display.
The Sysfont variable represents the system font.

Last reboot server: reboot


XSHELL4 connection, Linux system Chinese display garbled solution

    1. Open Xshell Terminal Services, locate the menu---properties

    2. Open the properties, after the System settings menu. Find the "terminal" encoding settings, default is the default language, select UTF8 settings to


CentOS Chinese garbled modified character encoding using CentOS support Chinese

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.