any option support exporting pdf with utf-8

any option support exporting pdf with utf-8

sawakonotsadakosawakonotsadako Posts: 1Questions: 1Answers: 0
edited May 2018 in Free community support
"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

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598
    Answer ✓

    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

This discussion has been closed.