|
@@ -389,7 +389,7 @@ public class ExamPaperTempServiceImpl extends ServiceImpl<ExamPaperTempDao, Exam
|
|
|
answerFileDir.createNewFile();
|
|
|
}
|
|
|
out = new FileOutputStream(answerFileDir);
|
|
|
- out.write(paperJson.toString().getBytes());
|
|
|
+ out.write(paperJson.toString().getBytes(StandardCharsets.UTF_8));
|
|
|
// log.info("paperJson update:{}", paperJson.toJSONString());
|
|
|
} catch (FileNotFoundException e) {
|
|
|
log.error(SystemConstant.LOG_ERROR, e);
|