-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
can't use chinese in datasource #10
Comments
Did you want to render Chinese headers ? I mean : key, name, age, address . |
@abdennour Hi! I have the same problem that, both header and content have to output in Chinese. However the output is garbled now. |
使用BOM的方式解决,在数据开始添加 \uFEFF。 |
@jiangbing9293 : |
Fix special characters bug : it closes #10
I think that \uFEFF character shouldn't have a comma after it. As it is, I get an extra blank heading, so the column headings and values don't match. |
so cool! |
const dataSource = [{
key: '1',
name: "冰冰",
age: 32,
address: "胡迪"
}, {
key: '2',
name:"冰冰",
age: 42,
address: "胡迪"
}];
const columns = [{
title: '姓名',
dataIndex: 'name',
key: 'name',
}, {
title: '年龄',
dataIndex: 'age',
key: 'age',
}, {
title: '住址',
dataIndex: 'address',
key: 'address',
}];
This is my datasource.
it does not support chinese?
The text was updated successfully, but these errors were encountered: