Gedit won't let me edit binary files to look for text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit |
Fix Released
|
Wishlist
|
|||
gedit (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Gedit won't let me view/edit text files it cant figure out the charset of files it cannot work out the charset of.
All other editors let you open binary files, and see if you recognise any strings etc.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gedit 2.30.4-2ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-
Architecture: i386
Date: Mon Sep 12 21:27:48 2011
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
LANGUAGE=en_GB:en
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)
XsessionErrors:
(nautilus:1315): Gdk-CRITICAL **: IA__gdk_
(nautilus:1315): Gtk-CRITICAL **: IA__gtk_
(nautilus:1315): Gdk-CRITICAL **: IA__gdk_
(nautilus:1315): Gtk-CRITICAL **: IA__gtk_
Changed in gedit (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | Incomplete → Confirmed |
Changed in gedit: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
Changed in gedit (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in gedit: | |
status: | Confirmed → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Gedit is a text editor, therefore it stands to reason that it tries to "protect" users from accidentally opening a binary file in the editor, which might result in a less-knowledgeable user damaging it.
In order to get the functionality you need, may I suggest using a full-blown binary/hex editor such as ghex or bless. These are much better suited to the task.
Also, if all you need is to look at strings contained in a binary file, the "strings" command might be of help. You can use it to generate a text file without extraneous characters and then analyze that using gedit.
Please let me know if some of the programs I described help in fulfilling your requirement.
Thanks!