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

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

    XMLWordPrintable

Details

    Description

      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"'
      }

      Attachments

        1. consoleoutput.png
          22 kB
          Marslo Jiao
        2. consoleText.png
          20 kB
          Marslo Jiao

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: