Campbell Barton <ideasma...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10600>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to