kde下的抓图工具
JavaScript特效

正常显示gvim菜单

流浪 posted @ 2007年8月24日 23:47 in linux with tags gvim utf-8 , 13352 阅读

以前装过好几个不同版本的Linux,在每个上面都装有gvim,基本上都是一装上就能用,没有什么问题。但自从装了ArchLinux后,gvim就不再那么给面子了。菜单栏从没有显示过,每次用终端一打开就弹出两版的警告。

(gvim:6667): Gtk-WARNING **: Invalid input string

就这个问题我请教过很多人,最后都没招。我曾一度怀疑是字体问题,可是配置了半天还是没用,最后干脆重装了一次系统,结果效果依久。今天在sir上转时看到有人说了这么一句话。

UTF-8才是标准的 写成其它任和形式 gvim都会有问题,这不是arch独有的问题

立马看了一下自己的环境设置

LOCALE="zh_CN.utf8"
LANG="zh_CN.utf8"

然后试着把utf8改成标准的UTF-8格式,再小心翼翼的打开gvim------菜单完美显示。看来果然是这问题,再回想一下,自己也曾试着装GNOME,结果当时好像也是GNOME上字体不能正确显示,连X环境都进不了。看来GTK对支持UTF-8的标准很严格。

Avatar_small
lun 说:
2008年10月12日 23:59

哦,原来是这样呀,有效。

Avatar_small
temple run 3 说:
2020年4月14日 13:02

This is a great thing, I think everyone feels this information is very valuable, thank you

Avatar_small
basketball stars 说:
2022年9月13日 19:38

This is fantastic, and I believe that everyone will find the material to be quite helpful.

Avatar_small
slime rancher 2 说:
2022年11月09日 12:16

這太棒了,我覺得每個人都會發現這些信息很有用。

Avatar_small
hurdle 说:
2022年11月11日 17:20

Thanks for your helpful information. I have been struggling to find many questions about this issue. I will follow you!

Avatar_small
dinosaur game 说:
2022年11月17日 15:42

The difficulty when starting to use Vim is that we will not have the concept of using the mouse when editing text with Vim.

Avatar_small
happy wheels 说:
2022年12月13日 18:53

I appreciate you sharing this useful data. It has been difficult for me to locate relevant questions on this topic. I'm going to follow you!

Avatar_small
WiFi Speed Test 说:
2023年2月04日 14:08

Internet is something we all use every second of our lives now with WiFi gadgets, where you can test the speed at any time, and where notifications, texts, and emails stream down like rain, we should always have the best Internet connection with us. WiFi Speed Test We've talked a lot about the importance of having a decent Internet connection, but now it's time for you to take action and see whether your Internet is what it claims to be. We will use SpeedTest by Ooakla to check your WiFi speed, which is equivalent to your Internet connection speed.

Avatar_small
1v1.lol unblocked 说:
2023年4月03日 12:16

it's a fun and engaging survival shooting game. The information you provide is incredibly helpful for me and everyone.

Avatar_small
CBSE 7th Class Syll 说:
2023年7月21日 14:06

CBSE Curriculum is based on the National Curriculum Framework and Provides Opportunities for Students to Achieve Excellence in Learning, CBSE 7th new Syllabus 2024 This Study Materiel are Designed Strategically by a Team of Subject Experts and are Prescribed by the Ministry of Human Resource Development, formerly Ministry of Education, is Responsible for the Development of Human Resources in India CBSE 7th Class Syllabus 2024 for the Children of has been developed with the Supervision of the Central Board of Secondary Education.Developed by CBSE, This Syllabus has been Developed as per National Curriculum Framework and Curriculum Framework it will help Them in keeping a Track of what they have Studied till now and what they need to cover.

Avatar_small
basketball stars 说:
2023年9月26日 17:18

我对您提供这些宝贵信息表示感谢。 我在确定与该主题相关的相关询问时遇到了挑战。 我打算观察并效仿你的行为。

Avatar_small
NCERT 8th Exemplar 说:
2023年9月27日 16:07

CBSE 8th Science Exemplar Problems with Solutions 2024 was introduced by the Central Board of Secondary Education (CBSE) to develop the Problem Solving skills and higher order Thinking Skills of Students, Detailed and Appropriate Solutions NCERT 8th Exemplar Problems for science 2024 are helpful Students in Solving Questions in the Competitive Exam CBSE 8th Class Science Books 2024 are Quite Important when we talk about the CBSE Exam as these 8th Science Exemplar Problems and Solutions are Prepared as per the Syllabus Prescribed for Central Board Exam, so the CBSE 8th Science Exemplar Problems and Solution 2024 can be Considered as the Complete Preparation Material for the Exam.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter