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 ideasman42
Recipients ideasman42, vstinner
Date 2010-12-02.05:22:30
SpamBayes Score 4.576489e-06
Marked as misclassified No
Message-id <1291267353.12.0.377053449876.issue10600@psf.upfronthosting.co.za>
In-reply-to
Content
This bug is with blender3d, were the paths are stored internally in C as simple char arrays - bytes.

We could expose all path names as bytes too through our C/python API, this would at least be a 1:1 mapping, however Id prefer using strings if possible.

Since blender projects need to be portable - compress entire projects and run on different systems, we cant ensure the native fs encoding is used.

So surrogateescape seems to work very well, except for this one case I've run into, windows only.
History
Date User Action Args
2010-12-02 05:22:33ideasman42setrecipients: + ideasman42, vstinner
2010-12-02 05:22:33ideasman42setmessageid: <1291267353.12.0.377053449876.issue10600@psf.upfronthosting.co.za>
2010-12-02 05:22:30ideasman42linkissue10600 messages
2010-12-02 05:22:30ideasman42create