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

Unicode characters in console logs do not print correctly in Workflow builds

      On my production Jenkins system, Workflow jobs which run a shell script that happens to print Unicode characters instead display the null/question mark placeholder in the console log view. The same shell script, run by a freestyle job, prints correctly. I can't reproduce this on my test Jenkins server, so I suspect this is partly an environment issue, but I don't know what to check to confirm that and it's interesting that it only impacts Workflow jobs.

      Workflow script which reproduces this:
      node {
      sh 'env printf "\u2024 \u2024 \u2024 \u2024 \u2024 \n"'
      }

          [JENKINS-31096] Unicode characters in console logs do not print correctly in Workflow builds

          Owen Mehegan created issue -
          Jesse Glick made changes -
          Labels Original: workflow New: encoding
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 166267 ] New: JNJira + In-Review [ 182336 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Component/s New: workflow-job-plugin [ 21716 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-38381 [ JENKINS-38381 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-36566 [ JENKINS-36566 ]
          Marslo Jiao made changes -
          Attachment New: 1.png [ 38949 ]
          Marslo Jiao made changes -
          Attachment Original: 1.png [ 38949 ]

            jglick Jesse Glick
            owenmehegan Owen Mehegan
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: