You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever open() is called to open a file, we want to use UTF-8 encoding so that special characters are supported.
The default encoding on Windows is currently CP-1252 (until PEP 686 gets implemented in Python 3.15).
To fix this, we should pass encoding="utf-8" on all open() calls unless the file is opened in binary mode.
For example, the following places should be changed in order to support special characters in z/OS job spool files:
Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
Whenever
open()
is called to open a file, we want to use UTF-8 encoding so that special characters are supported.The default encoding on Windows is currently CP-1252 (until PEP 686 gets implemented in Python 3.15).
To fix this, we should pass
encoding="utf-8"
on allopen()
calls unless the file is opened in binary mode.For example, the following places should be changed in order to support special characters in z/OS job spool files:
zowe-client-python-sdk/src/zos_jobs/zowe/zos_jobs_for_zowe_sdk/jobs.py
Line 399 in 8c9580a
zowe-client-python-sdk/src/zos_jobs/zowe/zos_jobs_for_zowe_sdk/jobs.py
Line 414 in 8c9580a
The text was updated successfully, but these errors were encountered: