ouch
ouch copied to clipboard
Ouch breaks the file name when the encode is not utf-8
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
I also meet the issue. Is it possible to specify the encoding or to verify the encoding automatically?