this post was submitted on 13 Sep 2023
683 points (97.8% liked)

Programmer Humor

32426 readers
1202 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ytg@feddit.ch 3 points 1 year ago (3 children)

Isn't the Windows exe also a renamed zip?

[–] Appoxo@lemmy.dbzer0.com 10 points 1 year ago* (last edited 1 year ago) (2 children)

No. But the Windows office suite is
You can rename a docx and extract it.
Don't know how it is with ppt/x and xls/x

[–] MonkderZweite@feddit.ch 8 points 1 year ago (1 children)

xls & co. (the older ones) are something custom. Only after standardization as OOXML (a shitshow btw, there's a lengthy wiki article about it) they got zip.

[–] Appoxo@lemmy.dbzer0.com 3 points 1 year ago

The whole Word and Libre/OO-Writer world is a shit show.
So complex and everyone decides to interpret it a bit differently.
Not even Libre and OO can be interoperabel between the same file and feature.

[–] lord_ryvan@ttrpg.network 5 points 1 year ago (2 children)

docx are mostly markup language, actually. Much like SVGs and PDFs.

[–] Appoxo@lemmy.dbzer0.com 2 points 1 year ago (1 children)

Arent they straight up HTML being specially formatted?

[–] cymor@midwest.social 7 points 1 year ago (1 children)
[–] lord_ryvan@ttrpg.network -1 points 1 year ago

And HTML is a lot like it, all of them are Markup Language.

[–] fibojoly@sh.itjust.works 1 points 1 year ago (1 children)

No. The Office ???x files are archives. Inside them you can find folders with resources. Among those, you can find files written in markup languages.

Not quite the same thing.

Just rename your .docx file as .zip to check its contents.

[–] lord_ryvan@ttrpg.network 2 points 1 year ago

Ah, last time I checked it was a kind of ML directly (XML, I'm guessing from cymor@midwest.social their comment), but that's back in Office 2016's time, so things might have changed.

Thanks for the heads-up!

[–] joyjoy@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

Just because you can open it with 7-zip doesn't mean it's a zip file. Some exes are also zip files.