summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformwindow.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-01-17 21:37:23 -0800
committerThiago Macieira <thiago.macieira@intel.com>2018-02-03 21:31:57 +0000
commita16d0074b9f2847fe475daa89c8174fd9d9898c0 (patch)
treeef96d0f84b7ee65b6a8e22ce1a991cad981c3ab6 /src/gui/kernel/qplatformwindow.cpp
parent687dc7fac7fec6c2f77aa1d130119a8bc1fd368b (diff)
QUtf8: Add some UTF-8 text operation functions
The first, isValidUtf8(), as the name says, returns true if the string is valid UTF-8. As a bonus, it also returns whether it's valid US-ASCII. The other two are meant to compare an UTF-8 string to either a Latin1 one or an UTF-8 one, without memory allocation. Change-Id: Ic38ec929fc3f4bb795dafffd150ad0d63e28cd32 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.cpp')
0 files changed, 0 insertions, 0 deletions