两种解决方法:
1. 编码文件名,编码格式为浏览器对应编码格式,比如Firefox
filename = new String(filename.getBytes("utf-8"),"iso-8859-1")
2. 在header中指明编码格式。
"Content-Disposition","attachment;filename*=utf-8'zh_cn'文件名.xx"
参考文章:
http://stackoverflow.com/questions/93551/how-to-encode-the-filename-parameter-of-content-disposition-header-in-http
http://my.oschina.net/iceman/blog/67541