[Development] RFC: Defaulting to or enforcing UTF-8 locales on Unix systems

Edward Welbourne edward.welbourne at qt.io
Mon Nov 4 10:46:54 CET 2019


>>> "c) no" as default and a simple one-liner opt-in for applications that
>>> want to engage in "strict parenting" might be an option, too.

On Fri, Nov 01, 2019 at 02:49:36PM -0700, Thiago Macieira wrote:
>> How about making the resetting opt-out, instead of opt-in?
>> QT_NO_OVERRIDE_LC_CTYPE?

André Pönitz (2 November 2019 12:53)
> I was more thinking of a runtime option. Like
>
>   QCoreApplication::setPropagateOurChoices(true)
>
> Or do I miss something why this has to be a compile time choice?

I interpreted Thiago as suggesting an environment variable to be
inspected at run-time, not a compile-time option.
Would an environment variable work for you ?

	Eddy.


More information about the Development mailing list