binary file?

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
samuelz
Posts: 14
Joined: Wed Feb 20, 2013 12:16 pm

binary file?

Post by samuelz »

after updating to 6.5.142, everytime when I open a vbs file, it says "this file appears to be a binary file. would you like to open it in the binary editor instead?", this is very annoying. any suggestion? thanks.

User avatar
Alexander Riedel
Posts: 7522
Joined: Tue May 29, 2007 4:43 pm
Answers: 1
Been upvoted: 2 times

Re: binary file?

Post by Alexander Riedel »

PrimalScript displays that message if a file contains null characters. You say this happened after the latest update but you don't mention from what you updated. Since this specific check has been in for years I was wondering from what version you upgraded?
Say no to the message and save the file. Close it and open it again.
Does the message still appear?

Please indicate what encoding you use (status bar) and what other editor you might use to edit these files.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
samuelz
Posts: 14
Joined: Wed Feb 20, 2013 12:16 pm

Re: binary file?

Post by samuelz »

Alex,
to answer your questions:
1. I try to keep my version always update, so in this case, it is from 6.5.141
2. say no to the message, save and open: this doesn't seem to resolve the issue, but after a few edits and save, the dialog was gone. so you might be right that some kind of null chars staying somewhere but was removed.
3. other editors used are textpad, notepad
4. encoding mode shows ASCII

Thanks

User avatar
Alexander Riedel
Posts: 7522
Joined: Tue May 29, 2007 4:43 pm
Answers: 1
Been upvoted: 2 times

Re: binary file?

Post by Alexander Riedel »

Keep an eye on it and let us know if it happens again.
Thanks.
Alexander Riedel
SAPIEN Technologies, Inc.