[Development] HEADS-UP: QStringLiteral

Thiago Macieira thiago.macieira at intel.com
Mon Aug 26 16:53:15 CEST 2019

On Monday, 26 August 2019 05:02:28 PDT Lars Knoll wrote:
> > And we've done that and all of Qt's modules build like that.
> Really? It’s probably what happens in practice in most cases on Linux and
> macOS, as their locale is utf-8, but we do not force the input encoding to
> anything as far as I can tell. There’s no -finput-charset=utf-8 anywhere in
> Qt’s sources. That implies that gcc will try to pick up the input charset
> from the locale.

GCC and Clang default to UTF-8 *unless* you pass -finput-charset to something 
different, independent of what your locale is.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products

More information about the Development mailing list