weixin_39647787 2020-11-22 03:16
浏览 0

Should sys.getfilesystemencoding() return 'mbcs' now that this is a supported encoding?

From on December 9, 2014 17:37

CPython does...

Work Item Details

Original CodePlex Issue: Issue 24220 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Aug 5, 2009 at 10:40 PM Reported by: dfugate Updated on: Nov 3 at 8:58 PM Updated by: jdhardy Test: (CPy) test_support.py

Copied from original issue: IronLanguages/main#731

该提问来源于开源项目:IronLanguages/ironpython2

  • 写回答

6条回答 默认 最新

  • weixin_39647787 2020-11-22 03:16
    关注

    From on December 9, 2014 17:37

    On 2009-11-23 01:04:51 UTC, tkamiya commented:

    sys.getfilesystemencoding() returns None in 2.6 rc3. This breaks the following code:

    import sys print "abc".decode(sys.getfilesystemencoding())

    评论

报告相同问题?