> On 12 May 2020, at 11:04, Tor Arne Vestbø <tor.arne.ves...@qt.io> wrote: > > >> On 12 May 2020, at 09:49, Lars Knoll <lars.kn...@qt.io> wrote: >> >> * Our QLatin1String uses are in most cases about pure ASCII strings. In any >> case, we should consider mass porting them over to u”…” instead. > > During the contributor summit we were talking about just assuming “foo” is > utf-8, now that our source code is utf-8. Is that not possible?
It is, but we’d need to copy the data to create a QString. With 16bit data, we could avoid many of the copies. Cheers, Lars _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development