Wednesday, November 9, 2011

Resolve problem with Windows encoding in gedit


Gedit encoding

for Ubuntu 10.04:
sudo apt-get install gconf-editor

launch:     gconf-editor

select in tree: apps -> gedit-2 -> preferences -> encodings

set:    auto-detected = at the top "windows-1251"

For Ubuntu 12.04:

gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'WINDOWS-1251', 'CURRENT', 'ISO-8859-15', 'UTF-16']"

No comments:

Post a Comment