I get the following error during a print function when a script is run as localsystem user, but not when I run the script as my own user.
UnicodeEncodeError: \'