15.01.2019, 21:45, "Cristian Adam" <cristian.a...@gmail.com>: > 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? > > UTF-8 is native on Linux and other *NIX platforms, Qt programs should use > less memory, and perform better by reading less bytes from memory. > > Did anybody try this? > > I've heard that Qt Creator is storing sources files both in UTF-8 format for > libclang, and UTF16 for its internal usage. That sounds like a bit wasteful. > > KDE Plasma could then better compare / compete with the other Linux desktop > environments which use UTF-8 for strings. > > I guess I could use CopperSpice to test this, since they added CsString with > both QString8 (UTF-8) and QString16 (UTF-16) supported. > > https://utf8everywhere.org/ states "UTF-16 is the worst of both worlds, being > both variable length and too wide"
From QtWebKit perpective it would be great if Qt APIs which require QString now would also accept QLatin1String at least for ASCII-only data > > Cheers, > Cristian. > , > > _______________________________________________ > Development mailing list > Development@qt-project.org > https://lists.qt-project.org/listinfo/development -- Regards, Konstantin _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development