Skip to content
New issue

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

this_x7c82__map写入到excel中会变更 this粂_map #3756

Open
kivn2014 opened this issue Apr 9, 2024 · 1 comment
Open

this_x7c82__map写入到excel中会变更 this粂_map #3756

kivn2014 opened this issue Apr 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@kivn2014
Copy link

kivn2014 commented Apr 9, 2024

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也不没解决问题.

@kivn2014 kivn2014 added the bug Something isn't working label Apr 9, 2024
@kivn2014
Copy link
Author

kivn2014 commented Apr 9, 2024

非常确定,createData() 这个方法返回的lines里面看数据是正常的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants