> On Jun 12, 2017, at 6:34 PM, Paul Moore <p.f.mo...@gmail.com> wrote: > > On 12 June 2017 at 21:57, Thomas Kluyver <tho...@kluyver.me.uk> wrote: >> There is a certain appeal to using the zipped .whl file as the canonical >> format for all tools that produce or consume wheels, rather than defining a >> closely related but distinct 'unpacked wheel' format. A directory and a zip >> file do not have 100% identical features (filename encodings may differ, >> entries in a zip file are ordered, there may be metadata in one format >> that's not present in the other, and so on). > > This is a reasonable point. As I understand it, zipfiles are > guaranteed to support the full Unicode range for filenames, via UTF-8. > But it's not impossible for filesystems to only support a limited > subset (for example, I believe the encoding used for FAT32 filesystems > is not clearly defined, but is probably some 8-bit codepage, and Unix > systems rely on whatever encoding the user has specified via the > locale settings).
As always, it’s complicated — https://marcosc.com/2008/12/zip-files-and-encoding-i-hate-you/ <https://marcosc.com/2008/12/zip-files-and-encoding-i-hate-you/> — Donald Stufft
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig