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

Ilya Fedin fedin-ilja2010 at ya.ru
Tue Mar 21 13:48:39 CET 2023


On Mon, 20 Mar 2023 13:44:30 +0000
Edward Welbourne via Development <development at qt-project.org> wrote:

> The means to achieve this appear [2] to hinge on setting the active
> codepage for the application in a manifest file, that it gets combined
> with after it is linked.
> 
> [2]
> https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page

setlocale has support to set UTF-8 locale as well:
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setlocale-wsetlocale?source=recommendations&view=msvc-170#utf-8-support


More information about the Development mailing list