nexent icon indicating copy to clipboard operation
nexent copied to clipboard

[Bug] skill上传后文件名是乱码

Open Lifeng-Chen opened this issue 4 months ago • 1 comments

Nexent Version

2.3.0

Problem Description

skill zip包,其中有md文件,md文件名编码是GBK,此时上传skill后,前端显示的文件名是乱码。后台nexent-data目录下的md文件名也是乱码。

如果把zipfile读取文件的方式从_with zipfile.ZipFile(zip_stream, "r")_ as zf改为_with zipfile.ZipFile(zip_stream, "r", metadata_encoding="gbk") as zf_则不会乱码,但是这样改可能会引入其它问题。

Image

Reproduction Steps

No response

Additional Information

No response

Lifeng-Chen avatar Jul 27 '26 12:07 Lifeng-Chen

目前仅支持上传 UTF-8 编码格式的 SKILL.md,建议转需求管理

Jasonxia007 avatar Aug 02 '26 18:08 Jasonxia007