➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 msmhrt
收信人 amaury.forgeotdarc, belopolsky, msmhrt, serhiy.storchaka, vstinner
日期 2012-10-25.22:55:46
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1351205746.62.0.224574632039.issue16322@psf.upfronthosting.co.za>
In-reply-to
内容
> What show sys.getdefaultencoding(), sys.getfilesystemencoding(), and locale.getpreferredencoding()?

C:\Python33>python.exe
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.getdefaultencoding()
'utf-8'
>>> sys.getfilesystemencoding()
'mbcs'
>>> import locale
>>> locale.getpreferredencoding()
'cp932'
>>>

'cp932' is the same as 'mbcs' in the Japanese environment.
历史
日期 用户 动作 参数
2012-10-25 22:55:46msmhrt修改recipients: + msmhrt, amaury.forgeotdarc, belopolsky, vstinner, serhiy.storchaka
2012-10-25 22:55:46msmhrt修改messageid: <1351205746.62.0.224574632039.issue16322@psf.upfronthosting.co.za>
2012-10-25 22:55:46msmhrt链接issue16322 messages
2012-10-25 22:55:46msmhrt创建