[Development] Qt6: Adding UTF-8 storage support to QString
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Fri Jan 25 21:26:24 CET 2019
Il 25/01/19 10:49, Dominik Haumann ha scritto:
> Sidenote: Such a QStringIterator would also be helpful for
> KTextEditor, where we likely have some bugs we usually never see since
> we never have > UTF16 or composed characters.
I've managed to merge it in QtCore some 5 years ago, comes with docs and
tests:
https://codereview.qt-project.org/#/c/77136/
You can use it today:
CONFIG += core-private
#include <private/qstringiterator_p.h>
It's still missing a couple of bits and bolts to turn it public -- most
notably, ranged for / STL loop support support. I'd also like to
investigate more how it overlaps with SG16 / Boost.Text / etc. efforts
before publishing the current API.
My 2 c,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190125/4cdd39eb/attachment.bin>
More information about the Development
mailing list