Gvim Chinese garbled problem (text and menu garbled)

Source: Internet
Author: User


Vim is a very good text editor in the Linux platform, the Gvim editor is the version of Vim on the Windows platform, and when I know the Gvim editor starts, I installed the Gvim editor in Windows.


However, when using the Vim editor to open the Chinese file, the Chinese display garbled, as shown in.

650) this.width=650; "title=" 0. Chinese menu is normal, open the body text garbled "style=" float:none; "alt=" Wkiol1hkpmhtjyaaaabvxtomacc405.png-wh_50 " src= "Http://s2.51cto.com/wyfs02/M02/8C/2C/wKioL1hkpMHTJYaaAABvXtoMAcc405.png-wh_500x0-wm_3-wmp_4-s_4189876046.png"/>

Modify the Vim installation directory "C:\Program Files (x86) \VIM\_VIMRC", add "Set Encoding=utf-8", save exit.

650) this.width=650; "title=" 1. Modify _VIMRC "style=" Float:none; "alt=" Wkiom1hkpmgxkqvkaabpybfay0m767.png-wh_50 "src=" Http://s2.51cto.com/wyfs02/M00/8C/30/wKiom1hkpMGxKqVkAABPYbFay0M767.png-wh_500x0-wm_3-wmp_4-s_113840812.png "/ >

Re-open the file, open the Chinese file is normal, the menu garbled.

650) this.width=650; "Title=" 2. The file is normal, the menu is garbled "style=" float:none; "alt=" Wkiol1hkpmhslk4maabf3zxhcty645.png-wh_50 "src=" Http://s2.51cto.com/wyfs02/M00/8C/2C/wKioL1hkpMHSlk4MAABf3ZxHCtY645.png-wh_500x0-wm_3-wmp_4-s_1409626692.png "/ >

Modify "C:\Program files (x86) \vim\vim80\menu.vim" file, add "Set Encoding=utf-8", save exit.

650) this.width=650; "Title=" 3. Modify Menu.vim "alt=" wkiol1hkpw3dsxtdaabmvdadowi641.png-wh_50 "src=" http://s4.51cto.com /wyfs02/m00/8c/2c/wkiol1hkpw3dsxtdaabmvdadowi641.png-wh_500x0-wm_3-wmp_4-s_181292456.png "/>

Re-open the Chinese file, the Chinese file is normal, the Chinese menu also shows normal.

650) this.width=650; "Title=" 4. The menu and open files are normal "style=" float:none; "alt=" Wkiom1hkpmzwf4hiaabkl02zkco699.png-wh_50 "src= "Http://s1.51cto.com/wyfs02/M01/8C/30/wKiom1hkpMzwf4HiAABkl02zKco699.png-wh_500x0-wm_3-wmp_4-s_1241014364.png" />


Accessories for "_VIMRC" and "Menu.vim" file packaging


Gvim Chinese garbled problem (text and menu garbled)

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.