On Thursday, 5 April 2018 10:25:37 PDT Berthold Stoeger wrote: > It's fine as it is, since all C-strings are supposed to be UTF-8 encoded. > The only use I see for fromLatin1() et al. would be importing data from an > external source that is not UTF-8.
If it's US-ASCII, it is valid UTF-8, but QString::fromLatin1 is slightly faster. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface