I can not display file coded with GBK. In gconf-editor of gnome 3.2 , I can not find encoding item of gedit . How to set it ? thanks
I don't have a file encoded in GBK to test the solutions, but do try them.
Option 1: Run gedit and then open the file:
Remember to backup the previous value of auto_detected!!
Option 3: Using dconf (the "newer" gconf, used in ubuntu)
Save the result (backup)!
To reset it to default: a) use the option you backed up from dconf read command
or b) try:
If you want do it quick then install medit. All works from the box.
If you still want use gedit then you need do some work:
"Change encoding" plugin for gedit v3
Then run gedit. Choose Edit->Preferences->Plugins(tab)->Check "Encoding" checkbox. After you do that you can find "Encoding" in menu "File"
Plugin description: https://aur.archlinux.org/packages/gedit-encoding-plugin/
Plugin for gedit v2. Same author as in plugin above: http://bugzilla.gnome.org/attachment.cgi?id=108326 or plugin for gedit v2 by another author: http://petrstepanov.wordpress.com/2010/09/29/gedit-encoding-plugin/