Mod.zip file ignores UTF-8 filenames

:arrow_forward: GAME INFORMATION

:point_down: These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.

  • GAME BUILD #: 133431
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 11

:arrow_forward: ISSUE EXPERIENCED

:point_down: DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.

I generated a mod.zip file, and I very specifically set UTF-8 for the General Purpose Bit Flag, because I had a non-ASCII character in my mod file. When I unzip it with any modern zip software it correctly recognizes that the filenames are utf-8 encoded, but when I subscribe to my own mod and download the unzipped file it does not.

:arrow_forward: FREQUENCY OF ISSUE

:point_down: How often does the issue occur? CHOSE ONE; DELETE THE REST!

  • 100% of the time / matches I play (ALWAYS)

:arrow_forward: REPRODUCTION STEPS

:point_down: List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!

Here’s the steps to reproduce the issue:

  1. Create a aoe2scenario with a name containing non-ASCII characters
  2. Release it as a mod
  3. Subscribing to this module will now give it a different name than when it was created

:arrow_forward: EXPECTED RESULT

:point_down: What was SUPPOSED to happen if the bug you encountered were not present?

Mod subscribers should get the name of the .aoe2scenario file that the mod author created.

:arrow_forward: IMAGE

:point_down: ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.

The picture below shows me using 7-zip to view the file information. 7-zip knows that its file name is utf-8 encoded. The file name in the picture is the real file name.

And this is the file downloaded after subscription, its file name is destroyed
Screenshot 2025-02-11 082938

:arrow_forward: GAME FILES (SAVE / RECORDING)

:point_down: Attach a SAVE GAME (.aoe2spgame) or GAME RECORDING (.aoe2record) of the match where you encountered the issue. Link it below if using an external file service.

I think this is a problem with the decompression program used by the game, and I would love to be told if this issue will be fixed. I’d be willing to help as much as possible.

To help with this, I’m going to provide a demo.zip, which contains a .txt file that, when unzipped correctly, should have the same name as its contents describe.

This file is actually a .zip file. If you want to test it, please remove the .txt extension