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.

Author msmhrt
Recipients amaury.forgeotdarc, belopolsky, msmhrt, serhiy.storchaka, vstinner
Date 2012-10-25.22:55:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351205746.62.0.224574632039.issue16322@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-10-25 22:55:46msmhrtsetrecipients: + msmhrt, amaury.forgeotdarc, belopolsky, vstinner, serhiy.storchaka
2012-10-25 22:55:46msmhrtsetmessageid: <1351205746.62.0.224574632039.issue16322@psf.upfronthosting.co.za>
2012-10-25 22:55:46msmhrtlinkissue16322 messages
2012-10-25 22:55:46msmhrtcreate