Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66731

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • durable-task-plugin
    • None
    • 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.

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

              Created:
              Updated: