InputStreamReader OutputStreamWriter支持文件编码
FileWriter?FileReader不支持设定编码
class="java">br = new BufferedReader(new InputStreamReader(url.openStream(),"UTF-8")); // bw = new BufferedWriter(new FileWriter(file)); bw=new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file),"UTF-8"));
?