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

中文文件名压缩包内容自动转换后无法正常显示 #49

Open
Chen-Zz1 opened this issue Apr 18, 2023 · 1 comment
Open

中文文件名压缩包内容自动转换后无法正常显示 #49

Chen-Zz1 opened this issue Apr 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Chen-Zz1
Copy link

使用自带的自动转换功能自动解压中文压缩包时,可能会出现解压后目录乱码无法访问的问题,媒体库界面中表现为点开漫画封面后无法显示内容,仅有灰色背景。
我的解决方案:手动使用 unzip 解压时添加参数 -O cp936 ,指定文件编码(有些unzip版本可能不支持 -O 参数,需要修改)。
出现问题原因:推测为压缩文件时使用Windows压缩,解压时使用Linux解压,zip文件名使用 GBK 编码,使用 UTF-8 解码,而zip文件中不包含文件名编码信息,故出现乱码,导致阅读器无法正常识别。

@lkw199711 lkw199711 self-assigned this Apr 18, 2023
@lkw199711 lkw199711 added the bug Something isn't working label Apr 18, 2023
@lkw199711
Copy link
Owner

您好,需要您的压缩文件用于测试

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