Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

GVIM Chinese garbled problem (text and menu garbled)

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Vim is an excellent text editor on the Linux platform, and the Gvim editor is the version of vim on the Windows platform. When I knew that the Gvim editor started, I installed the Gvim editor in Windows.

However, when you use the vim editor to open a Chinese file, the Chinese shows garbled, as shown in the following figure.

Modify the vim installation directory "C:\ Program Files (x86)\ Vim\ _ vimrc", add "set encoding=utf-8", and save exit.

Reopen the file, open the Chinese file is normal, the menu is garbled.

Modify the "C:\ Program Files (x86)\ Vim\ vim80\ menu.vim" file, add "set encoding=utf-8", and save exit.

Reopen the Chinese file, the Chinese file is normal, and the Chinese menu is normal.

Attachment is a package of "_ vimrc" and "menu.vim" files

Attachment: http://down.51cto.com/data/2368526

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report