Skip to content

[Bug?]: In ZipFS, filenames inside Japanese zip file are garbled #6771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
oxygen-dioxide opened this issue Apr 18, 2025 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@oxygen-dioxide
Copy link

Self-service

  • I'd be willing to implement a fix

Describe the bug

When opening a zip file from Japan, in ZipFS, they are shown as garbled latin script.

To reproduce

  1. Download japanese-example.zip
  2. Open it with ZipFS

Environment

System:
    OS: Windows 11 10.0.26100
    CPU: (22) x64 Intel(R) Core(TM) Ultra 7 155H
  Binaries:
    Node: 23.11.0 - ~\AppData\Local\Temp\xfs-3d334e79\node.CMD
    Yarn: 4.9.1-dev - ~\AppData\Local\Temp\xfs-3d334e79\yarn.CMD
    npm: 10.9.2 - E:\scoop\apps\nodejs\current\npm.CMD

Additional context

For example, this is how a zip file shows in ZipFS:

Image

Here is what the file names should be:

Image

@oxygen-dioxide oxygen-dioxide added the bug Something isn't working label Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant