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

Konstantin Ritt ritt.ks at gmail.com
Wed Jan 16 17:50:52 CET 2019


> https://utf8everywhere.org/ states *"UTF-16 is the worst of both worlds,
being both variable length and too wide"*

https://utf8everywhere.org/ *states bullshit. try reading an alternative
sources.*


Regards,
Konstantin


ср, 16 янв. 2019 г. в 13:20, Edward Welbourne <edward.welbourne at qt.io>:

> Marco Bubke (16 January 2019 10:59)
> > 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.
>
> Note that we now have a QStringView, which can likewise replace many
> uses of const QString & - not that this is any help with UTF-8.
> Uptake has been slow, but some of us are using it.
>
>         Eddy.
> _______________________________________________
> 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/f0aa0787/attachment.html>


More information about the Development mailing list