Pipeline Nodes and Processes: PowerShell Core Script UTF-8 encoding doesn't seem to work

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: durable-task-plugin
    • None
    • Environment:
      Jenkins 2.303.1, Pipeline Nodes and Processes 2.40 Linux hosted Jenkins, Windows 10 Node.

      Unicode doesn't render properly.  Come back as  � character.  When running a python script that queries the environment, the encoding comes back as encoding='cp1252'.

      I think I'm explicitly saying to use UTF-8  in the pipeline also I think PowerShell Core is using UTF-8 by default. 

      pwsh(encoding: 'UTF-8',
      label: 'runscript',
      script: '''''')

      master and nodes have are using the -Dfile.encoding=UTF-8 JAVA Tool Options.

            Assignee:
            Unassigned
            Reporter:
            Francis Kwok
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: