vijaypr.chak Posted November 29, 2015 Share Posted November 29, 2015 Hi,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. RegardsVijay Link to comment Share on other sites More sharing options...
hozawa Posted November 30, 2015 Share Posted November 30, 2015 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.ORTry setting the properties below in your reportnet.sf.jasperreports.csv.encoding=utf-8 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now