Commit f11ed159 authored by Georg Brandl's avatar Georg Brandl

Stronger urge to convert filenames to str before using them as argument to ZipFile.write().

parent 426ea0a8
......@@ -223,7 +223,7 @@ ZipFile Objects
.. note::
There is no official file name encoding for ZIP files. If you have unicode file
names, please convert them to byte strings in your desired encoding before
names, you must convert them to byte strings in your desired encoding before
passing them to :meth:`write`. WinZip interprets all file names as encoded in
CP437, also known as DOS Latin.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment