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

Representation of localized strings from powershell scripts was broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • powershell-plugin
    • None
    • Windows 8.1 x64, powershell v4.0, Jenkins ver. 2.32.3, PowerShell plugin 1.3

      I need to use localized strings (Cyrillic) at my powershell routines.

      When i use it directly from powershell it works fine; but then i invoke scripts as powershell build step they are broken by extra decoding.

      e.g.

      "тест" during execution represents as " �,D�?�," at execution log but looks normally at UI at step definition.

      I suppose that some conversion broke it when render content to ps1 script.

      I also have -Dfile.encoding=UTF8 at my java options.

            Unassigned Unassigned
            woodwo Roman Gordeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: