summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorEdward Welbourne <eddy@chaos.org.uk>2020-03-17 17:39:43 +0100
committerEdward Welbourne <eddy@chaos.org.uk>2020-04-02 19:44:06 +0100
commitcabd8f860b54c1692bd03876c1bfcc3e14b56503 (patch)
treee1613d38c5ec99acdde538237435d7cbd4a0bff4 /tests/benchmarks
parent67c0e2878977d9e930c1fab6d29baa878cb86411 (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')
0 files changed, 0 insertions, 0 deletions