Add a note to README about encoding errors on windows

Using the default system encoding cldr2qlocalexml.py and
qlocalexml2cpp.py may terminate with encoding errors on Windows.

Warn the user to set the PYTHONUTF8 environment variable to 1 before
running those scripts to avoid encoding errors.

Pick-to: 6.8
Change-Id: I315a45072cb6ea516d3e9bb7613c6f251792ec59
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Mate Barany 2024-09-13 12:11:16 +02:00
parent 67ec126168
commit b3ef2fdd8b

View File

@ -10,3 +10,6 @@ time/q*calendar_data_p.h and time/qtimezone*_data_p.h under
src/corelib/). See enumdata.py and zonedata.py for when and how to
update the data they provide. You shall definitely need to pass
--no-verify or -n to git commit for these changes.
NOTE: on Windows it is advisable to set the environment variable
PYTHONUTF8 to 1 before running the scripts to avoid encoding errors.