// 转码,防止中文乱码 filename = URLEncoder.encode(filename, "UTF-8"); 转载于:https://www.cnblogs.com/tanada/p/11383754.html