diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-04-06 15:29:42 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-05-01 18:53:03 +0200 |
commit | 0a02a598a429ceba17cbe85a5fbf167730a4038b (patch) | |
tree | 877e85e9fb6765929ac09336cadaa0ad31c06c1e /src/corelib/serialization/qdatastream.h | |
parent | 5e5085c3bba07f093facbf5d48532cf77139751f (diff) |
Read XML as utf-8 not latin1 if we don't have codecs
99.5% of all XML documents in the world are encoded in utf-8, not in
latin1.
Also fix the tr() methods to use fromUtf8() in line with the Qt6
policy that source code should be in utf8.
Change-Id: Ie8744786185de839bfa5c9853b7bc36e36af293a
Reviewed-by: Simon Hausmann <hausmann@gmail.com>
Diffstat (limited to 'src/corelib/serialization/qdatastream.h')
0 files changed, 0 insertions, 0 deletions