>> I also try the Windows-specific locale strings first because I know >> that a Linux system successfully ignores them. > > Does setlocale even have a real effect on Windows? Last time I looked, > you couldn't change the per-process locale.
Yes. I have developed some websites in PHP on Windows where I used PHP's `setlocale` function which basically just calls the standard C function of the same name. There are differences in how the locales are specified (e.g. Windows uses "English_USA" instead of Linux' "en_US"), but it does work.