sudo lshw > filename - can't open in gedit
NoOp
glgxg at sbcglobal.net
Wed Jan 16 00:52:30 UTC 2008
I've noticed a problem lately when saving a lshw to a file:
sudo lshw > filename
When I attempt to open the file in the text editor (gedit 2.20.3) I get
the following error message:
Could not open the file </path&filename>
gedit has not been able to detect the character coding.
Please check that you are not trying to open a binary file.
Select a character codoing from the menu and try again.
Character Coding: Current Locale (UTF-8)
[also gives me a choice for Western (ISO-8859-15)
Now, if I open the file in OpenOffice Writer & resave as a standard text
file I can open in gedit. When I do open in OOo, it comes up with a font
type as "Cumberland". If I open in Abiword it comes up as "Times New
Roman".
I've checked Terminal|Set Character Encoding| and it is set for "Current
Locale (UTF-8). And, I can open the saved file in Nano, so I'm not sure
what the problem could be. Anyone else have a similar problem?
More information about the ubuntu-users
mailing list