PrimalScript is randomly adding characters to end of VBS 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.
This topic is 5 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
charlesrwood
Posts: 1
Last visit: Tue Jul 05, 2022 10:04 am

PrimalScript is randomly adding characters to end of VBS file

Post by charlesrwood »

Product, version and build: PrimalScript Version 7.4.115
32 or 64 bit version of product: 64 bit
Operating system: Windows 10 Pro 1709
32 or 64 bit OS: 64 bit

*** Please add details and screenshots as needed below. ***

Randomly after saving a VBS file, there will be characters added to the very last line of the file. I only know that they are there when I run the script and it throws a compilation error. The characters can only be seen in a notepad application and not in PrimalScript. This was also happening on my 2016 version of PrimalScript.

I wish I knew how to replicate the issue, but I can't.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: PrimalScript is randomly adding characters to end of VBS file

Post by Alexander Riedel »

I was trying to replicate this but have not been successful. The only thing I could think of is that if you use files with a different encoding than Unicode. Then file content needs to be converted back and forth.
So to start somewhere, what is the encoding of your files?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: PrimalScript is randomly adding characters to end of VBS file

Post by Alexander Riedel »

Additionally, could you zip and attach a file like that here if that happens again. You can also email it to support@sapien.com if you do not want it to be public.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 5 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.