Skip to content
Prev 33669 / 63424 Next

sessionInfo() fails to correctly detect locale settings

On Fri, 21 Aug 2009, Peter Dalgaard wrote:

            
It might be worth pointing out that C programs start in the 'C" 
locale, not the locale of the OS session.  So only when a program 
deliberately set a locale category is the value not 'C".

(That's what the standards say: implementations may differ, of course, 
but apart from some minor difference with MinGW on Windows, I am not 
aware of any.)