Jump to content

Chinese Special char problem


ponprakash

Recommended Posts

Hi,

 

I had succeed in generating Static and dynamic traditional chinese char in PDF

 

My JRXML

 

<font fontName="MingLiU" pdfFontName="MHei-Medium" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="UniCNS-UCS2-H" isStrikeThrough="false" />

 

but the problem is

 

I a trying to print chinese special char(Taiwan) in pdfbut getting blank values.

 

this char have hexdecimal value as below

EB9C, E04A

 

Please help me to resolve this problem.

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

 

I've got exactly the same problem.

I've tried out all the combinations for this line under traditional chinese fonts and encodings, but all my traditional chinese words came out as blank spaces.

 

I have converted my chinese fonts to utf16, and thn pass into the jrxml field as string.

 

<font fontName="MHei-Medium" size="12" isBold="false" pdfFontName="MHei-Medium" pdfEncoding="UniCNS-UCS2-H" isPdfEmbedded="true"/>

 

Have been searching information for this for days already..

 

Can anyone pleeeaaase help?

Thanks in advance..

Link to comment
Share on other sites

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...