Jacek Caban (@jacek) commented about programs/regsvr32/regsvr32.c:
Unregister = TRUE; break; case 's':
SetThreadLocale(MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), SORT_DEFAULT));
We're using the same thread later to call arbitrary DLL code later, so changing locale here doesn't seem right.