解决下载文件有中文时乱码问题,文件名称假如下代码即可
response.setHeader("Content-disposition","attachment; filename="+new String( "调拨单".getBytes("gb2312"), "ISO8859-1" )+".xls");
解决下载文件有中文时乱码问题,文件名称假如下代码即可
response.setHeader("Content-disposition","attachment; filename="+new String( "调拨单".getBytes("gb2312"), "ISO8859-1" )+".xls");