SAX: import the Qt 5.15 souce with QTextCodec


This is the same Qt 5.15 sources, minus the docs updates, some minor code style fixes & modernization, and what appears to be a bugfix:

                 tmp = ref().toUInt(&ok, 10);
                 if (ok) {
-                    if (tmp > 0xffff) {
-                        stringAddC(QChar::highSurrogate(tmp));
-                        stringAddC(QChar::lowSurrogate(tmp));
-                    } else {
-                        stringAddC(QChar(tmp));
-                    }
+                    stringAddC(QChar(tmp));

Fixes: QTBUG-98656
Change-Id: I2cffe62afda945079b63fffd16bc5c1e63a75420
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
commit7450eda927436a59f34f1a1455a6d6a9515d8156
parent3c245f2f116e2d2afe951eedb101e8ff0d445fda
authorThiago Macieira <thiago.macieira@intel.com>
committerThiago Macieira <thiago.macieira@intel.com>
commit timeWed, 1 Dec 2021 10:07:42 -0800