How to rid initial LUA characters \239\187\191 ?

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
mprather
Posts: 1
Joined: Sun Feb 09, 2014 6:18 pm

How to rid initial LUA characters \239\187\191 ?

Post by mprather »

My Zeus editor keeps putting the LUA characters \239\187\191 at the start of my compilable files - and the compiler crashes. Using 3.97a on Win7 / 64 and the old Digital Fortran (f90/95) compiler. The characters are hidden in Zeus, but upon save they kill the compile. Can open in MS Word as text file, see the characters and delete them, but this is getting tedious.

thanks for any help, I have looked at the scripting options, but it does not seem to help. I use the macros (F7/8 ) a lot.

Michael
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Those are the UTF8 BOM characters.

On Windows the Microsoft way of defining a UTF8 file is to add these BOM markers to the start of the file but on Unix the preference is to not have BOM markers.

So if you want UTF8 files without BOM edit the Lua Document Type and in the General section set the File Encoding to UTF8, making sure to uncheck the BOM option.
Using 3.97a on Win7 / 64

That is a very old version of the Zeus editor (the latest release is at 3.97r).

At a minimum I would suggest upgrading it to 3.97c version which is a free upgrade.

To upgrade the software just rename your current Zeus folder out of the way and then run the 3.97c installer.

More detailed upgrade instructions can be found here: http://www.zeusedit.com/zforum/viewtopic.php?t=2719

Cheers Jussi
Post Reply