diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-13 15:01:55 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-29 15:23:16 +0100 |
commit | 0ef79d94f6dcf276ca55b084d27f980b1f260473 (patch) | |
tree | 87fedf0bcda642df74da567294ccc99470eafb0a /src/plugins/platforms/windows/qwindowsintegration.cpp | |
parent | 4cbadf699838406d14366ce61deec03cf45113f7 (diff) |
Ensure we use UTF-8 for the emitted QLocaleXML data file
Python helpfully uses a sensible locale when stdout is a tty but uses
the system (not the filesystem) default encoding, which may be ascii
and unable to encode some of the data we need to save. So brute force
kludge it to ensure sys.stdout.encoding is UTF-8 when writing the
output we'll read as UTF-8 anyway.
Task-number: QTBUG-79902
Change-Id: I218dc0ec4c71a6b1b7181db55b018266d803bc58
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsintegration.cpp')
0 files changed, 0 insertions, 0 deletions