We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
easyExcel版本 3.3.4
code Demo:
List lines = createData(); DemoData有一个属性 name,设置了DataFormat @ExcelProperty("名称") @ContentStyle(dataFormat = 49) String name;
createData() 这个方法返回的lines里面看数据是正常的 EasyExcel.write(response.getOutputStream(), DictExcelData.class).sheet("sheet1").doWrite(lines) name属性是中文或者其他字符都没有问题,就是 this_x7c82__map才会出现乱码,感觉像是做了进制转换,设置单个类型为 text也不没解决问题.
The text was updated successfully, but these errors were encountered:
非常确定,createData() 这个方法返回的lines里面看数据是正常的
Sorry, something went wrong.
zhuangjiaju
No branches or pull requests
easyExcel版本 3.3.4
code Demo:
List lines = createData();
DemoData有一个属性 name,设置了DataFormat
@ExcelProperty("名称")
@ContentStyle(dataFormat = 49)
String name;
createData() 这个方法返回的lines里面看数据是正常的
EasyExcel.write(response.getOutputStream(), DictExcelData.class).sheet("sheet1").doWrite(lines)
name属性是中文或者其他字符都没有问题,就是 this_x7c82__map才会出现乱码,感觉像是做了进制转换,设置单个类型为 text也不没解决问题.
The text was updated successfully, but these errors were encountered: