简体   繁体   English

如何在gVim的消息行中显示UTF字符?

[英]How to display UTF characters in message line of gVim?

I am using a German version of gVim 7.4 on Windows 7. The message line does not display UTF-8 characters correctly. 我在Windows 7上使用德语版本的gVim 7.4。消息行未正确显示UTF-8字符。 For example, it shows 例如,它显示

Wort zu ~/vimfiles/spell/de.utf-8.add hinzugef<fc>gt

instead of 代替

Wort zu ~/vimfiles/spell/de.utf-8.add hinzugefügt

after having added a word to the spelling directory. 在拼写目录中添加单词后。 How can I make it display the umlaut? 如何显示变音符号?

Problem related to the charset converter for gvim on windows, From help :usr_45 , it says: 与Windows上gvim的字符集转换器有关的问题,从help :usr_45 ,它说:

Using different languages only works when Vim was compiled to handle it. 仅当编译Vim处理Vim时,才使用不同的语言。 To find out if it works, use the ":version" command and check the output for "+gettext" and "+multi_lang". 要确定其是否有效,请使用“:version”命令并检查输出的“ + gettext”和“ + multi_lang”。 If they are there, you are OK. 如果他们在那里,您就可以了。 If you see "-gettext" or "-multi_lang" you will have to find another Vim. 如果看到“ -gettext”或“ -multi_lang”,则必须找到另一个Vim。

If there is "-gettext" or "-multi_lange", or "-iconv", you need to download proper library your own for windows, see this post https://superuser.com/questions/207264/gvim-utf-8-in-windows for more information and downlinks for the library on windows 如果存在“ -gettext”或“ -multi_lange”或“ -iconv”,则需要下载适用于Windows的适当库,请参阅此帖子https://superuser.com/questions/207264/gvim-utf-8 -在Windows中获取更多信息以及Windows上库的下行链路

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

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