0

I am adding my code here, JRPdfExporter not showing turkish characters.

JRPdfExporter pdfExporter = new JRPdfExporter();            
                response.setHeader("Content-Disposition","attachment;filename=\""+fileName+".pdf\""); //No I18N
                response.setContentType("application/pdf"); //NO I18N
                pdfExporter.setParameter( JRExporterParameter.JASPER_PRINT, jasperPrint );
                pdfExporter.setParameter( JRExporterParameter.OUTPUT_STREAM, ouputStream );
                pdfExporter.setParameter( JRExporterParameter.CHARACTER_ENCODING, "UTF-8" );
                pdfExporter.exportReport();
Alex K
  • 22,315
  • 19
  • 108
  • 236
Sivakumar
  • 171
  • 1
  • 1
  • 6
  • 2
    Possible duplicate of [Jasper Reports PDF doesn't export cyrillic values](http://stackoverflow.com/questions/34041619/jasper-reports-pdf-doesnt-export-cyrillic-values) – Alex K Oct 12 '16 at 13:23
  • 1
    Another useful post: [How can I test if my font is rendered correctly in pdf?](http://stackoverflow.com/q/35127956/876298) – Alex K Oct 12 '16 at 13:53

0 Answers0