IT Process Automation

Expand all | Collapse all

Convert to UTF on passing parameters

Jump to Best Answer
  • 1.  Convert to UTF on passing parameters

    Posted 01-15-2019 08:28 AM

    Hi guys, I'm trying to execute a powershell script using the run script operator, the script works well, but when I pass the parameters for the powershell script, the parameters are converted to ASCII pattern.





       I am trying pass the parameter message to the script.


    The variable $msg receive the value from Process.message  and the variable $msg is  being passed by parameter to a nodejs script.




    The script works well, but if you look at dataset painel, the value of the variable "scriptOutput" is out of  utf-8 format



    anyone could help me? 


  • 2.  Re: Convert to UTF on passing parameters
    Best Answer

    Posted 02-22-2019 09:33 AM

    You may need to escape the special characters or possibly use CDATA tags which should tell java and/or powershell to not convert anything about the string you are passing.