mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-20 19:35:46 +08:00
Modify encoding
This commit is contained in:
@ -118,6 +118,7 @@ public class RdbDmlExportController {
|
||||
ExcelWrapper excelWrapper = new ExcelWrapper();
|
||||
try {
|
||||
ExcelWriterBuilder excelWriterBuilder = EasyExcel.write(response.getOutputStream())
|
||||
.charset(StandardCharsets.UTF_8)
|
||||
.excelType(ExcelTypeEnum.CSV);
|
||||
excelWrapper.setExcelWriterBuilder(excelWriterBuilder);
|
||||
SQLExecutor.getInstance().executeSql(Chat2DBContext.getConnection(), sql, headerList -> {
|
||||
|
Reference in New Issue
Block a user