为输出字符流指定编码的办法 Leave a Comment / Java / August 20, 2008 August 20, 2008 java.io.OutputStream out=new java.io.FileOutputStream(fileName); java.io.Writer wr=new java.io.OutputStreamWriter(out,"UTF-8");