Generated PDF not supporting russian language.

Generated PDF not supporting russian language.

faizan101010faizan101010 Posts: 6Questions: 0Answers: 0
edited February 2012 in Bug reports
I am working on a multi language project. And I would like to generate pdf and CSV file which support Russian, Polish, German,Czech. However the russian language only displaying ????? and not the orignal UTF 8 Characters.

Replies

  • allanallan Posts: 63,089Questions: 1Answers: 10,388 Site admin
    edited February 2012
    Unfortunately the PDF export library that TableTools currently uses (AlivePDF) does not support UTF8 output. As such, I'm sorry to say this feature is not available.

    The alternative is to use server-side PDF generation tools (or ultimately the PDF library used could be replaced, but I've yet to find a suitable library - if you or anyone has any suggestions, they would be most welcome).

    Allan
  • faizan101010faizan101010 Posts: 6Questions: 0Answers: 0
    Hi Allan,

    Yeah at first I was using a Server-side PDF generation tools. But your pdf generation method is saving us lots of server resources and the process which was taking about 30 to 50 sec is now taking less then a second. So I am very much interested in DataTable TableTools.

    Well I have only worked with PHP Excel( A server side PDF, XLS generation library written in PHP) so I cant say much here.

    Thanks for the awesome work though.

    Faizan
  • jfirgesjfirges Posts: 2Questions: 0Answers: 0
    Hello Everyone,

    I am new to Jquery datatables. I am currently using the latest release. I am having a difficult time getting the logic to transform my html table within my JSP page into a datatable. I have tried multiple methods to get this to work but have not had any success.

    I am using Spring MVC 3.

    I have attached the code below. Any help would be appreciated. I'm sure it is something I am missing.

    Thanks in advance.

    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
    <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"; %>

















    $(document).ready(function(){
    $('#userTable').dataTable({
    "bJQueryUI":true
    "sPaginationType":"full_numbers",
    });
    });













    ${user.userName}
    ${user.fullName}

    |
  • allanallan Posts: 63,089Questions: 1Answers: 10,388 Site admin
    Hi jfirges,

    Probably worth starting a new thread for discussions like this in future, since this doesn't appear to relate to the original thread.

    Having said that, I don't see what is wrong with your code above. What does the created HTML look like? Do you get any script errors? Can you use the DataTables debugger on your table ( http://debug.datatables.net ).

    Allan
This discussion has been closed.