[wingide-users] WingIDE failed to return correct
locale.defaultlocale() on Mac 10.6.6
Guanshan Yu
guyu at adobe.com
Wed Jan 12 17:42:49 MST 2011
I'm using Python 2.7.1 on my Mac 10.6.6. In a terminal window, I can get defaultlocale correctly by doing:
Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getdefaultlocale()
('en_US', 'UTF8')
However, in WingIDE, I got:
Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
[GCC 4.2.1 (Apple Inc. build 5664)]
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getdefaultlocale()
(None, None)
Can anyone help me with this issue?
Thanks.
Guanshan
More information about the wingide-users
mailing list