UnsupportedEncodingException in Jasper Reports
PostPosted:Sun Sep 16, 2012 3:49 pm
Hello, I'm using iReport designer 3.5.6 to create jrxml reports for my okm application.
I had a problem in creating pdf reports with UTF-8 characters but after a lot of googling I found out that I had to import Arial Unicode MS font in my ireport designer with pdfEncoding=Identity-H. Then, when I have to display a UTF-8 text,
I just write:
Do I have to install Arial Font or jasperreports-fonts-3.5.6.jar somewhere inside OpenKM server?Where?
I had a problem in creating pdf reports with UTF-8 characters but after a lot of googling I found out that I had to import Arial Unicode MS font in my ireport designer with pdfEncoding=Identity-H. Then, when I have to display a UTF-8 text,
I just write:
Code: Select all
Everything works perfect when I use iReport's default host but when I try to run the report using OpenKM, I get UnsupportedEncodingException for Encoding Identity-H.<font fontName="Arial Unicode MS" size="22" isBold="true" isPdfEmbedded="true" pdfEncoding="Identity-H"/>
Do I have to install Arial Font or jasperreports-fonts-3.5.6.jar somewhere inside OpenKM server?Where?