On Wednesday 19 June 2024 04:32:42 GMT-7 Giuseppe D'Angelo via Development 
wrote:
> I wouldn't say "force", but we could certainly check for it. We depend
> on that: we assume that string literals in our headers are UTF-8 encoded.
> 
> I it worth it though? Since we're talking about user code, this would
> mean a static_assert in a global header. (There's some precedent for
> this, like the check for /permissive-).

I don't see the point. Hardly anyone even knows the option is there for GCC 
and Clang, as they default to UTF-8. So it's not a problem that needs solving.

We already enforce in QCoreApplication where it matters: the setlocale() call.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Fleet Systems Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to