https://bugs.kde.org/show_bug.cgi?id=473380
--- Comment #8 from Alvin Wong <al...@alvinhc.com> --- > This is where the truncation happens: > https://invent.kde.org/qt/qt/qtbase/-/blob/ > 83c69c89fb4495f2fa3d1f302c3aac509fc60313/src/xml/sax/qxml.cpp#L7464-7485 > > stringAddC(QChar(tmp)); And I think the simple fix is to change this to: if (Q_LIKELY(!QChar::requiresSurrogates(tmp))) { stringAddC(QChar(tmp)); } else { stringAddC(QChar(QChar::highSurrogate(tmp))); stringAddC(QChar(QChar::lowSurrogate(tmp))); } -- You are receiving this mail because: You are watching all bug changes.