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. Change-Id: I315a45072cb6ea516d3e9bb7613c6f251792ec59 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit b3ef2fdd8b99c6920a382fbbc417209bf436c3f3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
b0e2abfe9a
commit
d8e1416977
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user