diff options
author | Edward Welbourne <eddy@chaos.org.uk> | 2020-03-17 17:39:43 +0100 |
---|---|---|
committer | Edward Welbourne <eddy@chaos.org.uk> | 2020-04-02 19:44:06 +0100 |
commit | cabd8f860b54c1692bd03876c1bfcc3e14b56503 (patch) | |
tree | e1613d38c5ec99acdde538237435d7cbd4a0bff4 /tests/benchmarks/corelib/io/qdir/tree/tree.pro | |
parent | 67c0e2878977d9e930c1fab6d29baa878cb86411 (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 emit.encoding is UTF-8 when writing the output
we'll read as UTF-8 anyway.
(This matches dev's commit 0ef79d94f6dcf276ca55b084d27f980b1f260473
for the reworked version of the script.)
Task-number: QTBUG-79902
Change-Id: I60ddc896a308c06e01fa87e8e18e112faa17d601
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'tests/benchmarks/corelib/io/qdir/tree/tree.pro')
0 files changed, 0 insertions, 0 deletions