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

DisplayName and unicode character

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: