Martin v. Löwis <mar...@v.loewis.de> added the comment:

This is not a bug. You can't expect that using an arbitrary codec (such as 
UTF-8) with the surrogateescape code, and expect to be able that opening the 
file will be able to produce the correct filename. This won't work on Unix, in 
the general case, either. The surrogateescape code will work correctly in this 
setup only when used with the filesystem encoding.

----------
nosy: +loewis
resolution:  -> invalid
status: open -> closed

_______________________________________
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