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

BOM is missing on unicode file.

XMLWordPrintable

      Jenkins 2.255

      P4Plugin for Jenkins 1.11.0

       

      When setting utf8-bom in charset, files with unicode filetype (see unicode.png) are written in the workspace without any utf8 BOM (see utf8_bom_missing.png). This is not reproducible with p4v (see utf8_bom.png).

       

      I reproduced this issue with the following Pipeline script:

       

      pipeline {

          agent any

          stages {

              stage('sync'){

                  steps

      { p4sync charset: 'utf8-bom', credential: '192.168.1.7', populate: autoClean(delete: true, modtime: false, parallel: [enable: false,   minbytes: '1024',   minfiles: '1',   threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource('//depot/...')     }

              }

          }

      }

        1. unicode.png
          84 kB
          Kevin Park
        2. utf8_bom.png
          88 kB
          Kevin Park
        3. utf8_missing_bom.png
          89 kB
          Kevin Park
        4. utf8.txt
          0.0 kB
          Karl Wirth

            Unassigned Unassigned
            s3037560 Kevin Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: