On Tuesday, 12 May 2020 02:04:35 PDT Tor Arne Vestbø wrote:
> 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?

We've been doing that since 5.0.

But UTF-8 to UTF-16 requires a conversion. u"" wouldn't and in some cases, we 
would be able to use it without memory allocations either -- that is, 
QStringLiteral().

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to