On Fri, Feb 6, 2026 at 8:03 PM Andrey Borodin <x4mmm@yandex-team.ru> wrote:
> Windows MSVC strtod(): seems to ignore environment variables entirely and use the system's regional settings (Russian
locale,)
Hmm, right, we probably do setlocale(..., ""), which gets you an
"implementation-defined native environment", and Windows implements
that as you say. I suppose if we wanted it to work like Unix, we
could call getenv("LC_XXX") and feed the results to setlocale()
ourselves... maybe a terrible idea, IDK.