Settings | Sign in | Sign up

There is currently 1 post.

【Ubuntu】解决Ubuntu查看TXT乱码的问题

Floor 1 产品的注销 1/2/11 22:46
你用什么程序看的txt,是gedit吗?gedit默认不支持gbk编码。
修改方式如下:
按alt+f2,在命令提示框里输入gconf-editor,打开gnome的配置编辑器,找到apps->gedit-2->preferences->encodings
修改auto_detected的值,增加GB2312,再把GB2312选项移到最前面,退出后在用gedit打开gbk编码的txt就不会乱码了。

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
©2010-2025 Purasbar Ver3.0 [Mobile] [Desktop]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported license.