There is currently 1 post.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
998 0
【Ubuntu】解决Ubuntu查看TXT乱码的问题
产品的注销
初入江湖 七级
Reply
Floor 1 Posted at: 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就不会乱码了。

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 998 Replies: 0
Author: 产品的注销
Last reply: 产品的注销
Last reply time: 1/2/11 22:46
Bar Good Posts
Announcements