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.

作者 MrJean1
收信人 MrJean1, amaury.forgeotdarc, loewis, mark.dickinson
日期 2008-11-22.23:21:52
SpamBayes Score 6.696073e-05
Marked as misclassified
Message-id <1227396113.29.0.0799909036884.issue4388@psf.upfronthosting.co.za>
In-reply-to
内容
The results from this script

  import os, sys
  print('Python %s' % sys.version.split()[0])
  print('env[LANG]: %s' % os.environ.get('LANG', '<not set>'))
  print('default encoding: %s' % sys.getdefaultencoding())
  print('filesystem encoding: %s' % sys.getfilesystemencoding())

are with Python 3.0:

Python 3.0rc3
env[LANG]: <not set>
default encoding: utf-8
filesystem encoding: utf-8

but for Python 2.3 thru 2.6:

Python 2.6
env[LANG]: <not set>
default encoding: ascii
filesystem encoding: utf-8

All with Python built from source on MacOS X 10.4.11 (Intel).
历史
日期 用户 动作 参数
2008-11-22 23:21:53MrJean1修改recipients: + MrJean1, loewis, amaury.forgeotdarc, mark.dickinson
2008-11-22 23:21:53MrJean1修改messageid: <1227396113.29.0.0799909036884.issue4388@psf.upfronthosting.co.za>
2008-11-22 23:21:52MrJean1链接issue4388 messages
2008-11-22 23:21:52MrJean1创建