podman/pkg/machine/wsl/wutil
Mario Loriedo 68e7136536 Enforce wsl.exe UTF-8 encoded output
Currently WSL uses UTF-16 encoded output by default but is planning
to use UTF-8.

See https://github.com/containers/podman/issues/26527

To get ready for the change we are enforcing UTF-8 encoded output by
setting the environment variable `WSL_UTF8=1` and by updating the
code that transfomed wsl output from UTF-16 to UTF-8.

Fixes https://github.com/containers/podman/issues/26527

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-07-02 20:18:52 +00:00
..
wutil.go Enforce wsl.exe UTF-8 encoded output 2025-07-02 20:18:52 +00:00
wutil_test.go Enforce wsl.exe UTF-8 encoded output 2025-07-02 20:18:52 +00:00