UTF-8 characters issue in Ireports PDF


I'm creating a table structure with  static column headers  and some values fields, the field values are getting populated from CSV datasource contating Thai characters. When i preview the PDF, the static Thai chars in the column headers appears fine, but which is getting rendered via datasource (i created a dataadapter from CSV) is not appearing and some junk chars are appearing.

I'm using IReports designer 5.6.0.

And i'm setting the font name as "Arial Unicode MS" with encoding "Identity-H". The static chars that are hard coded in the designer is appearing fine, but the fields values that are getting displayed from the CSV file is not rendered. Should i set some specific encoding for the dataadapter. 

Kindly let me know.




vijaypr.chak's picture
Joined: Oct 15 2015 - 11:53pm
Last seen: 7 years 6 months ago

1 Answer:

It's probably the encoding with your csv character. If you have it set to UTF-8, try setting it to the encoding of your OS.


Try setting the properties below in your report


hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago