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

含特殊字符文件无法导入 #24

Open
grasssand opened this issue Sep 6, 2022 · 7 comments
Open

含特殊字符文件无法导入 #24

grasssand opened this issue Sep 6, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@grasssand
Copy link

截了几段日志如下

load XXX\(C91) [不可不可 (関谷あさみ)] グッドモーニング・チバ (クオリディア・コード) [中国翻訳].zip, 20 of 277
load XXX\(C91) [不可不可 (関谷あさみ)] グッドモーニング・チバ (クオリディア・コード) [中国翻訳].zip failed because Error: ENOENT: no such file or directory, copyfile 'XXX\ni49QMq2I4gLEoSQZbcQS\(C91) [不可不可 (関谷あさみ)] グッドモーニング_チバ (クオリディア_コード) [中国翻訳]\007.png' -> 'XXX\pGTab9kGxHlrttuDROnzm.png', 20 of 277
load XXX\[きょくちょ] らぶみー♡ [中国翻訳] [DL版].zip, 154 of 277
load XXX\[きょくちょ] らぶみー♡ [中国翻訳] [DL版].zip failed because Error: ENOENT: no such file or directory, copyfile 'XXX\FJ8LVL9kXFREMf22uxrMf\[きょくちょ] らぶみー_ [中国翻訳] [DL版]\007.jpg' -> 'XXX\FfzWaW85KYcD4RNuwClFc.jpg', 154 of 277
load XXX\[まめおじたん] Knospenmädchen [中国翻訳] [無修正].zip, 183 of 277
load XXX\[まめおじたん] Knospenmädchen [中国翻訳] [無修正].zip failed because Error: ENOENT: no such file or directory, copyfile 'XXX\YJ0oyq7xJhNYlqGHYbfBb\[まめおじたん] Knospenm_dchen [中国翻訳] [無修正]\007.jpg' -> 'XXX\yI2yybkW46-gNGgk3_Jjg.jpg', 183 of 277
@SchneeHertz
Copy link
Owner

这是因为7zip的文件列表输出目前会替换掉特殊字符,导致获取到的文件名与实际解压出来的文件名不一致,我在找解决方法

@SchneeHertz
Copy link
Owner

zip压缩档的文件名含Unicode导致不能载入的问题将在下个版本修复 @grasssand

@SchneeHertz
Copy link
Owner

@grasssand 1.3.15已发布,已修复此问题

@grasssand
Copy link
Author

感谢修复

😂现在的问题是扫描很卡占用变高
image

问题在于7z,单独处理zip也不是办法

@SchneeHertz
Copy link
Owner

@grasssand 😂因为问题就出在7z的解压程序上,我是找了另外一个没有这个问题的解压库,但是那个库不支持zip以外的压缩格式,所以其他格式目前还没有解决方法
我再看看有没有方法优化下

@grasssand
Copy link
Author

是的,不光是 zip 格式,7zip 处理 7z/rar 一样有字符问题

另外一说,bandizip 类似的 bz.exe l 命令就没问题

@SchneeHertz
Copy link
Owner

@grasssand 我更新了1.13.16,扫描速度应该和以前一样了
bandizip有许可证问题,用不了的

@SchneeHertz SchneeHertz added help wanted Extra attention is needed bug Something isn't working labels Sep 28, 2022
@SchneeHertz SchneeHertz removed the help wanted Extra attention is needed label Nov 9, 2022
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

2 participants