java转码

// 转码,防止中文乱码
            filename = URLEncoder.encode(filename, "UTF-8");

 

posted on 2019-08-20 16:29  tanada  阅读(193)  评论(0编辑  收藏  举报