R. David Murray added the comment:

I'm guessing that is because (if you read the issue) there are no specified 
standards for the filenames in tar (other than PAX format).  Although I would 
personally have preferred to need to specify a "yes really use these binary 
filenames" flag to tar, as well.

I'm not sure there are real "standards" for zip, either.  I'll have to leave 
that answer to someone more knowledgeable.

As for your immediate issue, can't you just set your locale to latin-1 while 
building the archive?  The filenames should then get encoded to utf-8 in the 
zip archive, which should do the right thing with respect to the user's locale 
when extracted.  I would think that that would be more portable.

----------

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

Reply via email to