-
Bug
-
Resolution: Unresolved
-
Minor
-
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.
[JENKINS-43059] Representation of localized strings from powershell scripts was broken
Description | Original: I |
New:
I need to use localised strings (cyrillic) at my powershell routines. When i use it directly from powershell it works fine; but then i invoke scripts as powerhell build step they are broken by extra decoding. e.g. "тест" during execution represents as " �,D�?�," at execution log but loks 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. |
Description |
Original:
I need to use localised strings (cyrillic) at my powershell routines. When i use it directly from powershell it works fine; but then i invoke scripts as powerhell build step they are broken by extra decoding. e.g. "тест" during execution represents as " �,D�?�," at execution log but loks 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. |
New:
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. |