xunlei-lixian icon indicating copy to clipboard operation
xunlei-lixian copied to clipboard

使用--input参数批量添加ed2k链接时可能会因为编码问题造成乱码

Open starrin-zz opened this issue 11 years ago • 1 comments

因为需要批量添加ed2k链接(文件名中有中文)于是建立了一个txt文件,默认是用UTF-8保存的 结果可以下载,但是文件名是乱码 我试了试把txt文件的编码转成了GB2312,结果一切正常,文件名也没有乱码了

starrin-zz avatar Oct 25 '13 18:10 starrin-zz

正常应该用的系统编码。Windows的话一般gb2312是对的。

iambus avatar Oct 27 '13 17:10 iambus