Skip to content

Conversation

@mizuresort
Copy link

This PR fixes garbled ZIP filenames for non-UTF8 encodings.

It normalizes ZIP entry names by trying multiple encodings:

  • UTF-8
  • CP932 (Japanese)
  • GBK / BIG5 (Chinese)

It also skips macOS metadata files (e.g., _MACOSX/, . files)
to avoid showing non-user content.

This allows international filenames to be displayed correctly.

@mizuresort
Copy link
Author

@microsoft-github-policy-service agree

@oxygen-dioxide
Copy link

This PR works for me. It fixes my issue #1506

@mizuresort
Copy link
Author

Thanks for linking your issue and confirming the fix!
I'm glad I could help with your issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants