
On Thu, Feb 23, 2006 at 12:05:33AM +1300, Bnonn wrote:
Hi everyone. I have created a large text file which is essentially a concatenated bunch of emails. I simply selected the emails in Evolution with shift-click, and went "Save As".
I can open the file fine in nano, or I can cat it without problems. It has a lot of useless crap markup, but that's to be expected. However, I'm completely unable to open it in gedit; I just get the error that gedit couldn't determine the correct character encoding. I've tried manually selecting all the various UTF and Western encodings without luck; the only one that will open at all is UTF-16, which renders the file as a lot of Japanese-looking text.
Any ideas?
Hi, I suspect what's happened is that you've got messages in different encodings, so there are different parts of the file that are invalid no matter which encoding you try to choose. And gedit doesn't seem to have an option to leave a file unconverted (often called "raw" or simply "no" encoding), which is pretty lame, so I suspect you'll have to use a different editor. Ignore all the people telling you to use anything based on vi - it's a horrible editor if you don't already know how to use it. (Ditto for emacs, although possibly not quite so bad). John