RUN uri returns empty output on defining unicode character in 'Report Parameter'

Hi Team -


 


 I am using BIRT 2.6.0 version.


 


 In my template I have added a 'Report Parameter' filter on a column which contains unicode character in its value. For example : Diagnóstic (https://en.wikipedia.org/wiki/%C3%93)


 


 On generating the report through 'FRAMESET' uri by choosing the value with unicode character as a filter option. It returns proper results.


 


 But on generating the report in Excel/PDF/PPT format through 'RUN' uri it returns empty output.


 


 The same template works fine, when the filter is defined on other values which doesnt contain any unicode character and the reports are working fine without 'Report Parameter'.


 


 Please suggest me the ways to avoid this issue or it is known limitation of BIRT 2.6.0 version.


 


Thanks,


Naveen.


Comments

  • Clement WongClement Wong EM, Member mod
    edited June 30, 2016

    As a baseline test, I usedTomcat 7.0.12 and BIRT 4.5.0, and have set URIEncoding="UTF-8" in server.xml for the HTTP connector in Tomcat.


     


    I didn't have BIRT 2.6.0 handy to test, but with this configuration I'm able to run and generate HTML, PDF, Excel, etc... with the UTF-8 encoded string with the sample "test.rptdesign" that is shipped with the BIRT Engine.


     


    HTML



    http://localhost:8080/birt/frameset?__report=test.rptdesign&sample=Diagn%C3%B3stic
    http://localhost:8080/birt/run?__report=test.rptdesign&sample=Diagn%C3%B3stic

    PDF



    http://localhost:8080/birt/frameset?__report=test.rptdesign&sample=Diagn%C3%B3stic&__format=pdf
    http://localhost:8080/birt/run?__report=test.rptdesign&sample=Diagn%C3%B3stic&__format=pdf

    Attached is the PDF output.


     


     


    Please do let us know if that sample test report shipped with the BIRT Engine works in your environment with the 4 URL tests.


     


    Then, please provide us with your .rptdesign so that we can see if there's something in the design that may cause this to occur.


    Clement Wong
    Principal Analytics Architect

    OpenText Corporation
    http://www.actuate.com | http://www.opentext.com

  • edited July 1, 2016

    Hi -


     


     Thanks for your reply.


     


     Please find attached rpt design file.


     


     For your information, in my case I have integrated BIRT 2.6.0 into my java application.


     


     Please let me know if you need any additional information.


     


    Thanks,


    Naveen.


     


     


  • The design works fine in OS BIRT 4.4 and commercial iHub. It is possible it was an issue with the old release. 


Sign In or Register to comment.