Closed Bug 1796272 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36557 - reconfire stdin and stdout to be utf-8

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 36557 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/36557
Details from upstream follow.

Nihar Damarasingu <nihardamar@google.com> wrote:

reconfire stdin and stdout to be utf-8

Currently there is a bug on windows that doesn't show on mac/linux. The issue ended up being that it's using the cp1252.py file to write to the stdout on windows. The file that ends up writing exists in the mozlog python files so it won't be easy to directly fix there.
This CL makes a fix by updating the default of the environment to use utf-8. Bug details below

https://bugs.chromium.org/p/chromium/issues/detail?id=1371195

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.