Jump to content
JasperReports Library 7.0 is now available ×

CHINESE char can't display during deployment


2006 IR Open Dicussion

Recommended Posts

By: jim - jimmyteoh

CHINESE char can't display during deployment

2006-04-17 20:19

when i use ireport to generate pdf. i can see the chinese characters. my setting for the field is

 

font: tahoma

pdf font name: stsong-light

pdf encoding : unigb-ucs2-h (chinse simplified)

pdf embeded radio button ( already tried tick and untick both cases)

 

to output chinese, i use this

new String($F{CHINESE_NAME}.getBytes("ISO8859-1"),"UTF-8")

 

I able to see the chinese words properly when compiled in ireport. But in my browser, I can only see " ??? " when using tomcat to display it. any idea? This only happen when got chinese characters. The rest of the pdf (english chars) are displayed properly

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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