On Mon Aug 7 16:21:41 2023 +0000, Hans Leidekker wrote:
Yes, I tested current Wine.
Here's a minimal working example: ```c #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`.