weixin_39721009 2020-11-30 15:01 采纳率: 0%
浏览 0

sys.getfilesystemencoding() returns None; causes docutils error

From on May 31, 2015 11:30


What device(s) are you experiencing the problem on?

NEC LifeTouchNote (A Japanese ANDROID device)

What firmware version are you running on the device?

Not known. Probably firmware version is not a problem.

What steps will reproduce the problem?

1. Open Python shell on an android device.
2. Enter 'import sys; print sys.filesystemencoding()'
3.

What is the expected output? What do you see instead?

A string "UTF-8" or "mbcs" expected, but sees None.
This causes an error in running docutils.
My purpose is to invoke docutils.

What version of the product are you using? On what operating system?

android 2.2 & PythonForAndroid_r4.apk

Please provide any additional information below.

sys.filesystemencoding() is called within utils.py of docutils.

Original issue reported on code.google.com by textdire....com on 30 Sep 2011 at 1:39

Copied from original issue: damonkohler/android-scripting#575

该提问来源于开源项目:damonkohler/sl4a

  • 写回答

5条回答 默认 最新

  • weixin_39721009 2020-11-30 15:01
    关注

    From on May 31, 2015 11:30

    
    [deleted comment]
    
    评论

报告相同问题?