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 _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development