Formatting Dive tags string
Berthold Stoeger
bstoeger at mail.tuwien.ac.at
Thu Apr 5 10:32:37 PDT 2018
Hi,
On Donnerstag, 5. April 2018 19:28:28 CEST Thiago Macieira wrote:
> 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.
I don't understand your point. Do you suggest limiting dive-tags to US-ASCII?
Berthold
More information about the subsurface
mailing list