7 Aug
2023
7 Aug
'23
6:29 p.m.
On Mon Aug 7 16:21:41 2023 +0000, Hans Leidekker wrote:
Yes, I tested current Wine. Here's a minimal working example:
#include <windows.h>
#include <stdio.h>
#include <locale.h>
int __cdecl wmain(void)
{
setlocale(LC_ALL, "");
wprintf(L"Hello, world!\n");
wprintf(L"Привет, мир!\n");
wprintf(L"こんにちは世界!\n");
}
```ShellSession $ winegcc -bx86_64-windows mwe.c -o mwe -municode $ wine mwe.exe Hello, world! $ LC_ALL=ru_RU.UTF-8 wine mwe.exe Hello, world! Привет, мир! ``` Without the `setlocale()` line only English is printed regardless of `LC_ALL`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3473#note_41515