by GoAWest » Thu Aug 14, 2008 1:55 pm
I'm using UE (14.10.0.1024) to open a (text) *.log file being generated by another program (Linux script). The file is on a Linux file server.
The file is continuously updated unless I stop the other task. Sometimes I open it via a double click from Windows; other times I get the "the file has been updated, would you like to refresh/reload?" mesage in UE if it's already open. In any of these these cases, the file time *sometimes* opens/displays cleanly as text and sometimes opens/displays as hex and I have to switch modes. As far as I can tell, the file *always* opens as text if I shut down the other app so that the file is static and only UE is opening it.
It's possible that the issue is that UE may be opening the file in mid-update so that it's seeing odd characters and thinks it's a binary file. Opening, closing, opening, etc. the file multiple times in a row shows the binary, text, text/binary+... behavior.
As you say, there's no way to just turn off hex mode entirely ( :- ). I don't know if one of the macro scripts would allow me to do this (always open *.log files as text-only) but I haven't had luck with this so far.
Notepad has no problems with this file (always text, and NP has no hex mode).