bufferedwriter写json文件中文乱码时间:2022-10-04 22:29:06需要用writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file),"utf-8")) file为想写入文件的地址