STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Ronald Oussoren and Amaury Forgeot d'Arc: do you think that it is an acceptable 
limitation to only accept ASCII filenames in python32.zip? (not in all ZIP 
files, just in the file loaded at startup)

All possible solutions:

 a) Only accept ASCII filenames in python32.zip
 b) Only accept ZIP archive using UTF-8 filenames (unicode flag set for all 
files in the archive). On Linux, I don't know how to create such archive. I 
suppose that most ZIP archivers prefer the legacy format (unicode flag unset). 
But few people produce python32.zip files, maybe only py2exe / pyfreeze 
developers.
 c) Add encodings/cp437.py to your python3.2/ directory (outside the ZIP file), 
which can be a problem :-/
 d) Implement cp437 in C

I dislike (c) and (d), but I cannot say if (a) or (b) is better.

----------

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

Reply via email to