Representation of localized strings from powershell scripts was broken

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: powershell-plugin
    • None
    • Environment:
      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.

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

              Created:
              Updated: