> Date: Thu, 8 Oct 2026 14:00:45 +0200 > From: Patrice Dumas <[email protected]> > Cc: Eli Zaretskii <[email protected]>, [email protected] > > We skip the code that sets a locale to something else than C for _WIN32. > My feeling is that it is why it does not work.
Could be, yes. > The MSYS2 mingw with ucrt gcc is probably more like traditional UNIX > than what Eli tested on previously No, UCRT is just a more ANSI-compatible C runtime. It isn't more Unix-like than the old MSVCRT, at least not significantly so, not AFAIU. Why did we decide to set the locale to C in that case? Also, does string translation in this case depend on the locale, or does the code invoke gettext regardless of the system locale? > Eli, would you know what #ifdef use to do something different on the > platform you used previously (MSYS with mingw, maybe?) and this new > MSYS2 with mingw ucrt gcc? The UCRT build defines _UCRT in the system headers, whereas a build with the older MSVCRT runtime does not.
