Heim  >  Fragen und Antworten  >  Hauptteil

javascript - mui的downloader在ios中下载的中文文件名乱码,类似"男孩别a"这种乱码

代码如下:
var dtask = plus.downloader.createDownload("http://192.168.1.36:8080/v1/file/download?file_name=" + encodeURI(filenames), {}, function(d, status) {
if(status == 200) { // 下载完成
console.log("文件地址", decodeURI(d.filename))
} else {
mui.toast("语音文件下载失败: " + status);
}
}).start();

ringa_leeringa_lee2727 Tage vor776

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort