I'm creating PDF file from my HTML table usimg jsPDF AutoTable library, everythink works fine, PDF is always created but I have a problem with some special chars that are typical for my country. In my PDF file, strings that contain this characters are printed without them and what more, it looks like that every single char in this string is separated with space.
I cannot choose the way without this chars because they are included in names for example. The character I'm having problem with is for example c with hook -> č.
Below I'm giving you example where in first column on row number 1, 2, 3 and 4 is missing c with hook and characters are then separated with space.
Don't you have any idea how to solve it?
I'm from Czech Republic if it helps (because of charset)..
Your issue is probably related to that jspdf does not support utf-8. Follow updates regarding it in this issue. The spacing issue is also mentioned there. Another good option for generating pdf files is pdfmake. It fully supports utf-8 characters.