Ubuntu 11.04解决txt文档中文乱码方法:


$ gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[UTF-8,CURRENT,GB18030,BIG5-HKSCS,UTF-16]"
$ gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/shown-in-menu "[UTF-8,CURRENT,GB18030,BIG5-HKSCS,UTF-16]"