log file opening in hex mode

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

log file opening in hex mode

Postby mt_100 » Wed Dec 01, 2004 4:13 pm

When I open a .log file with UltraEdit it opens in hex mode instead of text mode.

Is there a way to change it? It wasn't like this on 10.20b.
User avatar
mt_100
Newbie
 
Posts: 2
Joined: Wed Dec 01, 2004 12:00 am

Re: log file opening in hex mode

Postby Mofi » Fri Dec 03, 2004 2:36 am

When a file is loaded UltraEdit checks the first 3K of the file and if it contains more than one NULL (HEX 00) the file is considered a binary/HEX file. So check, if your log files contains bytes smaller HEX 20 (space) which are not carriage return (HEX 0D), line feed (HEX 0A) or tabs (HEX 09).

If it is possible modify the log file creating program to not write binary bytes to the log file.

It is possible in UltraEdit to open files with HEX 00 in ASCII mode. You have to activate in Advanced - Configuration - General at the last section Advanced/Problem Solving the option Allow editing of text files with HEX 00's without converting them to spaces.

If you activate this option, read also the help about it, because working in this special mode is very critical.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4058
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: log file opening in hex mode

Postby mt_100 » Fri Dec 03, 2004 9:01 am

Thank you!
User avatar
mt_100
Newbie
 
Posts: 2
Joined: Wed Dec 01, 2004 12:00 am


Return to UltraEdit General Discussion