diff options
Diffstat (limited to 'mammoth/zips.py')
| -rw-r--r-- | mammoth/zips.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/zips.py b/mammoth/zips.py index 432be5d..4d77acb 100644 --- a/mammoth/zips.py +++ b/mammoth/zips.py @@ -42,7 +42,7 @@ def update_zip(fileobj, files): names = set(source.namelist()) | set(files.keys()) for name in names: if name in files: - contents = files[name] + contents = files[name].encode("utf8") else: contents = source.read(name) destination.writestr(name, contents) |
