Bash Script Error Trying to Run Executable

jlombardo
Contributor

Hello,

I am running into an error I am not familiar with and wanted to see if anyone here has seen it before.

I have an executable in the home folder that will be used to run scans on machines. I can get this to run if I just put the command into terminal, but as soon as it goes into a script (locally also, not just in JAMF) I get this error:

UnicodeEncodeError: 'utf-8' codec can't encode characters in position 94-95: surrogates not allowed.

Has anyone seen this before? I can give more information if needed.

0 REPLIES 0