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

MSBuild Output encoding vs Jenkins' encoding vs Browser Encoding

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Trivial
    • Resolution: Done
    • Labels:
      None
    • Environment:
      Win8 in French, Jenkins ver. 1.574, Chrome Version 37.0.2062.58 beta-m
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          hub Hubert Chauvat created issue -
          hub Hubert Chauvat made changes -
          Field Original Value New Value
          Description 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 enclosed)

          The MS CMD output is said to be encoded in [CP 850|http://en.wikipedia.org/wiki/Code_page_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.
          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|http://en.wikipedia.org/wiki/Code_page_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.
          gbois Gregory Boissinot made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          romualdginhoux Romuald Ginhoux made changes -
          Attachment Capture CMD Windows.PNG [ 27818 ]
          Attachment Capture Windows Batch step.PNG [ 27819 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 157006 ] JNJira + In-Review [ 195577 ]
          marshall777 Lionel Cabasson made changes -
          Assignee kdsweeney [ kdsweeney ] Lionel Cabasson [ marshall777 ]
          Resolution Not A Defect [ 7 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          marshall777 Lionel Cabasson made changes -
          Resolution Done [ 10000 ]
          Status Reopened [ 4 ] Resolved [ 5 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: