Error(2): Invalid character

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 12 years and 2 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
clum09
Posts: 150
Last visit: Sun Jan 21, 2024 5:07 pm

Error(2): Invalid character

Post by clum09 »

I repackaged the script with the latest version of PrimalScript, and the error appears only at the end of the run. However, if I ran the unpackaged script using cscript, no error shows up.
The script was packaged with PrimalScript installed on Windows XP Service Pack 3. I need to package the script within Windows 7 with PrimalScript installed and see if the error still appears. I will let you know next time.

Thanks.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Error(2): Invalid character

Post by Alexander Riedel »

On what platform you package the script makes no difference. I am pretty certain you have some character in your script that creates a problem on unicode conversion, assuming your script is originally encoded in ANSI.
However, without that information or seeing the actual file there is really nothing I can do.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 12 years and 2 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.