Hi,
In message "Re: does ruby's strftime not attempt POSIX-compliance?"
on Sun, 13 Jan 2008 07:57:58 +0900, Suraj Kurapati <snk / gna.org> writes:
|Hmm, I thought Matz said that Ruby 1.9 does this:
|
| setlocale( ENV['LC_TYPE'] )
|
|instead of this:
|
| setlocale( 'C' )
|
|Matz, would you please clarify?
Yes, the Ruby interpreter calls
setlocale(LC_CTYPE, "");
just because full setlocale (especially LC_TIME and LC_NUMERIC) can
cause problems if called implicitly.
matz.