String fileName = new String( "中文名称".getBytes(), "ISO8859-1");
或者
String fileName=URLEncoder.encode("中文名称","utf-8");
String fileName = new String( "中文名称".getBytes(), "ISO8859-1");
或者
String fileName=URLEncoder.encode("中文名称","utf-8");
转载于:https://www.cnblogs.com/it-yong/p/10364969.html