Copy and export failed with special charsets (with example) ("Uncaught SyntaxError: Unexpected")
Copy and export failed with special charsets (with example) ("Uncaught SyntaxError: Unexpected")
qinbx
Posts: 9Questions: 0Answers: 0
Hi, we met an problem as titled.
------------------------------------
= Live example url =
http://jsfiddle.net/a57zn/3/
= Test browser =
Chrome
= Description =
The page 2, have special charsets.
When click the copy button, the browser console the info "Uncaught SyntaxError: Unexpected token ILLEGAL".
the export pdf contains part of the special charsets, some time export failed.
------------------------------------
I set the page and all tag as charset="utf-8", the error still occurs.
It's much the same with http://www.datatables.net/forums/discussion/6932/tabletool-bug-with-exporting-non-english-characters/p1
We tried to find the reason, but failed. Would you have time to help us find the reason?
------------------------------------
= Live example url =
http://jsfiddle.net/a57zn/3/
= Test browser =
Chrome
= Description =
The page 2, have special charsets.
When click the copy button, the browser console the info "Uncaught SyntaxError: Unexpected token ILLEGAL".
the export pdf contains part of the special charsets, some time export failed.
------------------------------------
I set the page and all tag as charset="utf-8", the error still occurs.
It's much the same with http://www.datatables.net/forums/discussion/6932/tabletool-bug-with-exporting-non-english-characters/p1
We tried to find the reason, but failed. Would you have time to help us find the reason?
This discussion has been closed.
Replies
http://datatables.net/forums/discussion/6680/tabletools-utf-8-in-pdf-format/p1
http://www.datatables.net/forums/discussion/6932/tabletool-bug-with-exporting-non-english-characters/p1
) unfortunately we've not yet found a way to get UTF-8 support on the PDFs output by AlivePDF.
The only workaround at the moment is to have the server generate PDFs. Any patches to add support for UTF-8 on PDF output are very welcome!
Allan
In above url http://jsfiddle.net/a57zn/3/ , because of special charasets, the copy function can't work, is this also related with AlivePDF?
http://jsfiddle.net/a57zn/1/