Open Bug 1619845 Opened 6 years ago Updated 3 years ago

Properly set stdio encoding for python3

Categories

(Firefox Build System :: General, task)

task

Tracking

(Not tracked)

People

(Reporter: mshal, Unassigned)

References

Details

In bug 1619816, langpacks failed with unicode data because the preprocessor was writing to sys.stdout and the encoding was set to ansi instead of utf-8. Similarly, mach's logging fails. There is some support in mach/main.py:run() to set the encoding for python2, but we may need similar support for python3. Unfortunately this has to be handled at all entry points, not just mach.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.