• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • 2.398

      I try the following test code on http://job-dsl.herokuapp.com/
      ```
      organizationFolder('test')

      { displayName('Foxy 🦊') }

      ```
      it works the generated xml is correct.

      On my container i debug with cat the char is correct in the jenkins.yaml
      file /jenkins.yaml
      /jenkins.yaml: UTF-8 Unicode text

      cat jenkins.yaml | grep displayName
      ```
      displayName('Foxy (🦊)')
      ```
      the generated config.xml from the job the char is broken
      ```
      cat /var/jenkins_home/jobs/test/config.xml | grep display
      <displayName>Foxy (力)</displayName>
      ```

      when i set the displayName manual over the gui it works and also the char in the config.xml is correct.

          [JENKINS-69129] DisplayName and unicode character

          Gordon Franke created issue -
          Alexander Brandes made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/7778 (Web Link)" [ 28557 ]
          Alexander Brandes made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: job-dsl-plugin [ 16720 ]
          Alexander Brandes made changes -
          Released As New: 2.398
          Assignee Original: Jamie Tanna [ jamietanna ] New: Basil Crow [ basil ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Alexander Brandes made changes -
          Labels New: lts-candidate
          Kris Stern made changes -
          Labels Original: lts-candidate New: 2.387.3-fixed
          Jesse Glick made changes -
          Link New: This issue causes JENKINS-71139 [ JENKINS-71139 ]
          Jesse Glick made changes -
          Link New: This issue causes JENKINS-71926 [ JENKINS-71926 ]

            basil Basil Crow
            gimler Gordon Franke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: