java解决导出excel中文名字乱码

  String fileName = new String( "中文名称".getBytes(), "ISO8859-1");

或者 

  String fileName=URLEncoder.encode("中文名称","utf-8");

posted @ 2019-02-12 14:22  it-ayong  阅读(1593)  评论(0)    收藏  举报