Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python-windows: Update python3 environment variables on Windows
Starting from Python 3.6 two new environment variables have been introduced on Windows: PYTHONLEGACYWINDOWSFSENCODING https://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSFSENCODING PYTHONLEGACYWINDOWSSTDIO https://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO To keep backwards compatibility when running tests under Windows we define and set the two variables thus ensuring default filesystem encoding (mbcs). Fixes tests on Python version >=3.6: 2030: simple idl, writing via IDL with unicode - Python3 2032: simple idl, writing via IDL with unicode - Python3 - register_columns 2034: simple idl, writing via IDL with unicode - Python3 - tcp Signed-off-by: Alin Gabriel Serdean <[email protected]> Co-authored-by: Alin Balutoiu <[email protected]> Signed-off-by: Alin Balutoiu <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information