Groups
Groups
Sign in
Groups
Groups
Mint中国
Conversations
About
Send feedback
Help
ubuntu解决打开windows记事本.txt文件乱码的方法
22 views
Skip to first unread message
Curay.cn
unread,
Nov 29, 2011, 11:39:10 PM
11/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chin...@googlegroups.com
用默认的gedit双击打开.txt文档是乱码。
解决办法:
1、终端输入:gconf-editor
依次打开;apps—gedit2—preferences—encodings
双击右边的“auto_detected”—”双击”—输入:gb18030 —OK —点向上把它移动到最上边—OK.
2、
在Applications(应用程序)菜单上点右键,选择Edit Menu(编辑菜单).在Main Menu(主菜单)的对话框中勾选System Tools(系统工具)--Configuration Editor(配置编辑器),并从Applications(应用程序)菜单中开启。
依次开启 /apps/gedit-2/preferences/encodings/双击右侧auto_detected,在弹出对话框中点选Add,添加Values值为GB2312,确定后选中,点选Up按钮将其移至第一位。
同样方法,对show_in_menu进行设置,并将GB2312置于首位。
上面这个方法需要将GBK置顶才能用gedit带开gbk格式文档,但是这样会把其他格式的文档处理成乱码,一个比较友好的方法是,在打开文件时,在Charater Coding下拉菜单里选择"Add or Remove...",然后添加GBK或GB18030。
Curay.cn
unread,
Nov 29, 2011, 11:39:56 PM
11/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chin...@googlegroups.com
对LinuxMint11也有效,对12好像无效,因为找不到encoding项。
Reply all
Reply to author
Forward
0 new messages