PrintStream ps = new PrintStream("test","ISO8859-1"); byte[] b = "你".getBytes(); System.out.println(Arrays.toString(b)); ps.write(b);
//指定ISO8859编码或其他编码,为什么写入后不会产生乱码?