You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shaohuzhang1
changed the title
[Bug] zip 压缩前的目录使用中文名,导入后图片识别不出来
[Bug] The directory before zip is compressed using Chinese name, and the image cannot be recognized after importing.
Apr 11, 2025
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hello, please confirm the encoding of the operating system when packaging compression. We download the file you provided and re-decompress it and compress it again. It is normal to upload it to the knowledge base, without garbled code, and the pictures are also displayed normally. See the attachment for the recompressed file, you can download it and import it to confirm. default (2).zip
The encoding used by the operating system is different, and the encoding of the generated file names is also different, resulting in the decoding results of MK after obtaining the file. The situation where the image file cannot be found is that the relevant picture cannot be found according to the decoded file path. There is no good solution for R&D to deal with this problem at present.
However, this problem can be used as a temporary solution for the user by modifying the default code of the operating system.
Contact Information
shenkaibo
MaxKB Version
1.10.3-lts
Problem Description
zip 压缩前的目录使用中文名,导入后图片识别不出来
中文引用图片.zip
Steps to Reproduce
zip 压缩前的目录使用中文名,导入后图片识别不出来
The expected correct result
No response
Related log output
Additional Information
No response
The text was updated successfully, but these errors were encountered: