mirror of https://github.com/ansible/ansible.git
force Windows to always use preamble-free UTF8 input encoding (#22934)
* fixes #15770
* When running under the UTF-8 codepage, Powershell subprocesses will fail (eg, Start-Job, others) if the input encoding is using the default BOM preamble. This fix forces it to use no preamble in leaf_exec and win_shell, and includes tests to verify that Start-Job works.
(cherry picked from commit e084e8809e
)
pull/22995/head
parent
43310bb7b7
commit
631eaccc64
Loading…
Reference in New Issue