Skip to content

Invalid zip format when opening a docx in word #993

@ghost

Description

Hi,

I write a program to create docx files.
As a docx file is a zip file, I use Poco::Zip::Compress to create the file.

I work with Mac OS X, and I can open open the file with no problem in the application Pages.
But when I try to open it with Word 2013, I have an error message saying that the zip version is not supported by Word, but clicking "OK" it opens. I also tried to open it with Word Online but it does not open at all.

I tried to create a docx with the command zip and it works fine, I also run a unzip -t on my docx and there is no error in it.

Do you know anything about that, if it is an issue on the zip implementation of Poco ?

Thank you for your answer,

Regards

Edit: I commited a little test program here : https://github.com/MrHat4242/TestPocoZipDocx
It takes two arguments, the docx to unzip and the docx to create, you can try to run it and open the created docx in Word.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions