any option support exporting pdf with utf-8
any option support exporting pdf with utf-8
sawakonotsadako
Posts: 1Questions: 1Answers: 0
"buttons": [
{
"extend": "csv",
"text": "Export as CSV",
"filename": "Report Name",
"className": "btn btn-green",
"charset": "utf-8",
"bom": "true",
init: function(api, node, config) {
$(node).removeClass("btn-default");
}
},
{
"extend": "pdf",
"text": "Export as PDF",
"filename": "Report Name",
"className": "btn btn-green",
"charset": "utf-8",
"bom": "true",
init: function(api, node, config) {
$(node).removeClass("btn-default");
}
}
]
i know the option "charset" and "bom" are working fine exporting csv with utf-8, but the one of pdf seems not working, anyone knows the correct option that can export pdf with utf-8, Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @sawakonotsadako ,
UTF-8 is supported, so it's not that, it might be because you haven't got the correct font - this thread here would help with that.
Cheers,
Colin