How to display Chinese normally in VIM and Linux systems

Source: Internet
Author: User

VIM and Linux can display Chinese characters normally. System: Centos 6.2 Linux localhost. localdomain 2.6.32-220. el6.i686 #1 SMP Tue Dec 6 16:15:40 GMT 2011
I686 i686 i386 GNU/Linux VIM: 7.3 objective: vim supports the ANSI encoding format. The Chinese system is displayed normally: /etc/sysconfig/i18n www.2cto.com 1 LANG = "zh_CN.GB18030" 2 SUPPORTED = "zh_CN.UTF-8: zh_CN: zh: en_US.UTF-8: en_US: en: zh_CN.GB18030 "3 SYSFONT =" latarcyrheb-sun16 "4 SYSFONTACM =" utf8 "5 LANG =" zh_CN.GB18030 "6 LANGUAGE =" en_US.UTF-8 "7LC_CTYPE =" zh_CN.GB18030 "8LC_TIME =" en_US.UTF-8"

VIM: www.2cto.com 1 set fencs = UTF-8, ucs-bom, shift-jis, gb18030, gbk, gb2312, cp9362set termencoding = gb23123set encoding = gb23124set fileencodings = ucs-bom, UTF-8, cp9365set fileencoding = UTF-8
Author: fat bear

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.