[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Best way to issue a warning in a C test

From: Danny Trebbien <dtrebbien_at_gmail.com>
Date: Sun, 13 Feb 2011 16:35:26 -0800

>> 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.
Received on 2011-02-14 01:36:05 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.