Jump to content
Changes to the Jaspersoft community edition download ×

Chinese characters display

2004 IR Help

Recommended Posts

By: mimisam - mimisam

Chinese characters display

2004-01-01 20:24



I am trying to get data from my sql database which contains chinese character. I have downloaded the Asian font pack and put the ITextAsian.jar in the ireport lib. Then I created the font for the report as below:

<reportFont name="SimSun" isDefault="false" fontName="SimSun" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="simsun.ttc" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="false"/>


and in the TextField that i want to display chinese:

<font reportFont="SimSun" pdfFontName="STSong-Light"/>


Nothing came out in the TextField when I export to PDF. Can anyone please help?






By: cui yuming - bulletming

RE: Chinese characters display

2004-01-09 23:18

i meet this problem too now!!!





By: Giulio Toffoli - gt78

RE: Chinese characters display

2004-01-15 09:09

Check that all fields have the same pdf encoding.

(this could not be a solution)



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...