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

Incorrect Cyrillic symbols in Console output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • msbuild-plugin
    • None
    • Windows 7 Rus

      Incorrect Cyrillic symbols in Console output.
      Can be solved by change MsBuildBuilder class
      Line 122 from:
      if (!launcher.isUnix())

      { args.prepend("cmd.exe", "/C"); args.add("&&", "exit", "%%ERRORLEVEL%%"); }


      To:
      if (!launcher.isUnix())

      { String winCodepage = "1251"; args.prepend("cmd.exe", "/C", "chcp", winCodepage, ">", "NUL", "&"); args.add("&&", "exit", "%%ERRORLEVEL%%"); }

      But winCodepage nead add to configure.

        1. msbuild.hpi
          17 kB
        2. msbuild-plugin-1.11.1.zip
          12 kB
        3. msbuild-plugin-1.12.1.zip
          13 kB
        4. msbuild-plugin-1.8.1.1.Zip
          12 kB
        5. screen.zip
          136 kB

            gbois Gregory Boissinot
            aristar Dmitry Sviridov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: