Skip to content
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

Ouch breaks the file name when the encode is not utf-8 #691

Open
linsui opened this issue Jul 15, 2024 · 0 comments
Open

Ouch breaks the file name when the encode is not utf-8 #691

linsui opened this issue Jul 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@linsui
Copy link

linsui commented Jul 15, 2024

Version

ouch 0.5.1

Description

Create a test file

mkdir test
cd test
touch 这是一个测试文件.txt

Change the file name encode

convmv -t CP936 -f UTF-8 --notest 这是一个测试文件.txt

Compress it with zip

cd ..
zip -r test.zip test

If I decompress test.zip with 7zz or unzip, then we can recover the filename with convmv. But if I decompress test.zip with ouch, the file name is different and I can't convert it with convmv.

Current Behavior

No response

Expected Behavior

No response

Additional Information

No response

@linsui linsui added the bug Something isn't working label Jul 15, 2024
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