Message173806
> 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. |
|
Date |
User |
Action |
Args |
2012-10-25 22:55:46 | msmhrt | set | recipients:
+ msmhrt, amaury.forgeotdarc, belopolsky, vstinner, serhiy.storchaka |
2012-10-25 22:55:46 | msmhrt | set | messageid: <1351205746.62.0.224574632039.issue16322@psf.upfronthosting.co.za> |
2012-10-25 22:55:46 | msmhrt | link | issue16322 messages |
2012-10-25 22:55:46 | msmhrt | create | |
|