Formatting Dive tags string

Thiago Macieira thiago at macieira.org
Thu Apr 5 10:28:28 PDT 2018


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





More information about the subsurface mailing list