-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.303.1, Pipeline Nodes and Processes 2.40 Linux hosted Jenkins, Windows 10 Node.
Unicode doesn't render properly. Come back as � character. When running a python script that queries the environment, the encoding comes back as encoding='cp1252'.
I think I'm explicitly saying to use UTF-8 in the pipeline also I think PowerShell Core is using UTF-8 by default.
pwsh(encoding: 'UTF-8',
label: 'runscript',
script: '''''')
master and nodes have are using the -Dfile.encoding=UTF-8 JAVA Tool Options.
Be sure that the locale of the Jenkins process supports UTF-8. We have a known issue in the 2.303.1 Docker image that the locale is set to POSIX instead of C.UTF-8. The workaround is to assure that the locale is set (environment variables LC_ALL, LANG, and LANGUAGE) to C.UTF-8 explicitly in the image you build that is derived from the jenkins/jenkins:2.303.1 images.
The "Manage Jenkins" -> "System Information" page displays the locale information of the controller. The "System Information" page for each agent displays the locale information for that agent