zipfile with umlaut in filename
Martin v. Löwis
martin at v.loewis.de
Sat Apr 26 20:14:54 EDT 2003
Andrew Markebo <andrew.markebo at telia.com> writes:
> A quick note maybe is, which format is the string sent to the
> zip-functions? I mean, does the zipfile classes handle wide
> (unicode/utf-8) strings and so on, these can't be used in the
> zip-file.. yet..?
I think currently zipfile.py uses the encoding of the file name as the
system reports it, whereas Winzip uses CP437 or CP850. Neither is a
reasonable solution to the problem.
Regards,
Martin
More information about the Python-list
mailing list