Here's the output, as requested:
$ python Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale(locale.LC_ALL, "") 'C' >>> locale.getdefaultlocale() (None, None) >>>
...and in case this is your next question,
$ set | grep LC_ LC_ADDRESS=en_GB.UTF-8 LC_ALL=C LC_IDENTIFICATION=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_MONETARY=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_TIME=en_GB.UTF-8
Here's the output, as requested:
$ python setlocale( locale. LC_ALL, "") getdefaultlocal e()
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.
'C'
>>> locale.
(None, None)
>>>
...and in case this is your next question,
$ set | grep LC_ en_GB.UTF- 8 ON=en_GB. UTF-8 en_GB.UTF- 8 en_GB.UTF- 8 en_GB.UTF- 8 en_GB.UTF- 8 en_GB.UTF- 8
LC_ADDRESS=
LC_ALL=C
LC_IDENTIFICATI
LC_MEASUREMENT=
LC_MONETARY=
LC_NAME=en_GB.UTF-8
LC_NUMERIC=
LC_PAPER=
LC_TELEPHONE=
LC_TIME=en_GB.UTF-8