简体   繁体   English

VIM - 菜单中没有UTF-8

[英]VIM - no UTF-8 in menu

I added set encoding=utf-8 to my _vimrc file. 我在我的_vimrc文件中添加了set encoding=utf-8 Text in my files is ok but in menu there is no UTF-8 letters. 我文件中的文字没问题,但在菜单中没有UTF-8字母。 Where is a problem here? 这里的问题在哪里? Without set encoding=utf-8 there is no UTF-8 in my files but menu is ok. 如果没有set encoding=utf-8 ,我的文件中没有UTF-8,但是菜单没问题。 Problem exists only in gui menu (as on the pictrure). 问题仅存在于gui菜单中(如图所示)。 File encodings is ok. 文件编码没问题。

VIM-utf-8问题

I solved it. 我解决了 I added those lines to my config file: 我将这些行添加到配置文件中:

set langmenu=pl_PL   
let $LANG = 'pl_PL'
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM