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

MSBuild Output encoding vs Jenkins' encoding vs Browser Encoding

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial Trivial
    • None
    • Win8 in French, Jenkins ver. 1.574, Chrome Version 37.0.2062.58 beta-m

      When using Jenkins with MSBuild/MSTests, the output console and the plain text have encoding issues.

      My OS is in French, so we use accents, which are not well displayed in Jenkins' MSBuild/MSTest output (see last line in the enclosed screenshot ; the word "Génération" became "G,n,ration")

      The MS CMD output is said to be encoded in CP 850.

      My Jenkins/SystemInfo, regarding encoding says :
      file.encoding Cp1252
      file.encoding.pkg sun.io
      sun.io.unicode.encoding UnicodeLittle
      sun.java.command C:\Program Files (x86)\Jenkins\jenkins.war --httpPort=8082 --ajp13Port=-1 -Dfile.encoding=UTF-8
      sun.jnu.encoding Cp1252

      I tried to use the "-Dfile.encoding=" argument with "UTF8","UTF-8", "Cp850" "ISO8859_1" but without any luck.

      I guess as long as there will be differences between MSDOS/MSBuild's encoding and Jenkins' encoding, I won't be able to have proper outputs.

        1. Capture.PNG
          65 kB
          Hubert Chauvat
        2. Capture CMD Windows.PNG
          45 kB
          Romuald Ginhoux
        3. Capture Windows Batch step.PNG
          137 kB
          Romuald Ginhoux

            marshall777 Lionel Cabasson
            hub Hubert Chauvat
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: