java转码

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

 

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