[Development] Qt6: Adding UTF-8 storage support to QString

Marco Bubke Marco.Bubke at qt.io
Wed Jan 16 10:59:48 CET 2019


You can use std::string which as small string optimization instead of QByteArray too. In many cases where you would use const String &foo you can use std::string_view, so you are more flexible.

________________________________
From: Development <development-bounces at qt-project.org> on behalf of Allan Sandfeld Jensen <kde at carewolf.com>
Sent: Tuesday, January 15, 2019 10:44:45 PM
To: development at qt-project.org
Subject: Re: [Development] Qt6: Adding UTF-8 storage support to QString

On Dienstag, 15. Januar 2019 19:43:57 CET Cristian Adam wrote:
> Hi,
>
> With every Qt release we see how the new release improved over previous
> releases in terms of speed, memory consumption, etc.
>
> Any chance of having UTF-8 storage support for QString?
>
Use QByteArray when you can.

Regards
'Allan


_______________________________________________
Development mailing list
Development at qt-project.org
https://lists.qt-project.org/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190116/3542084a/attachment.html>


More information about the Development mailing list