aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsapi/qjsengine.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-12-17 17:45:41 +0100
committerMarc Mutz <marc.mutz@qt.io>2023-01-03 09:46:19 +0100
commit179200d2a3fa0df28fbf3790f8ff1ee47d0926c0 (patch)
treeaf2ec3045225783a9e719a2f583442bff52e50ab /src/qml/jsapi/qjsengine.cpp
parent29106dc0c0ab37f099e6b4bfdb81ccff6f65aa4f (diff)
QQmlPropertyCache: don't depend on locale for toupper
The C toupper/tolower functions are locale-dependent. Given the right locale (Türkiye, e.g.), toupper(i) is either - İ (LATIN CAPITAL LETTER I WITH DOT ABOVE; if representable) or - i (unchanged; if it isn't) Both results are wrong for the present use-case. Use the new QtMiscUtils::toAsciiUpper() function instead. Amends d481f2ff518df1e44103d1850e7d52bd69260c34. Pick-to: 6.5 6.4 6.2 5.15 Task-number: QTBUG-109235 Change-Id: Ib66593fc7eff3edc0cc16291ca3eae8bdf0dd8ed Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsapi/qjsengine.cpp')
0 files changed, 0 insertions, 0 deletions