-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins : 2.440.3
Powershell Plugin : 2.1
OS : Windows Server 2019 Standard
Java : openjdk 11 2018-09-25
Powershell plugin with pswh cannot read Korean in script.
I modified plugin config like below for using powershell 7.
```
<?xml version='1.1' encoding='UTF-8'?>
<hudson.plugins.powershell.PowerShellInstallation_-DescriptorImpl plugin="powershell@1.7">
<installations class="hudson.plugins.powershell.PowerShellInstallation-array">
<hudson.plugins.powershell.PowerShellInstallation>
<name>DefaultWindows</name>
<home>pwsh.exe</home>
<properties/>
</hudson.plugins.powershell.PowerShellInstallation>
<hudson.plugins.powershell.PowerShellInstallation>
<name>DefaultLinux</name>
<home>pwsh</home>
<properties/>
</hudson.plugins.powershell.PowerShellInstallation>
</installations>
</hudson.plugins.powershell.PowerShellInstallation_-DescriptorImpl>
```
This is my test powershell script.
```powershell
$PSVersionTable
Write-Host '안녕하세요'
```
When I execute it on cmd, it prints Korean well.
But in Jenkins Powershell Plugin, it is changed into ????.
please give your warm advice.
- duplicates
-
JENKINS-66701 Powershell-Plugin can not output UTF-8 to console
- Open