Jump to content
Changes to the Jaspersoft community edition download ×

how to print single quote ( ' ) in jasperReport


tong123123

Recommended Posts

As captioned, how to print single quote (e.g. X'mas) in jasperReport 0.64? I found it only print X mas, without the single quote!! I try modify the field value to X\'mas but it print X\ mas, still missing the single quotes!!

if jasperReport 0.64 has no this function, then which version support printing (and exporting) single quotes??

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Export to PDF.

The field in iReport is just textfield, with font 新細明體, and PDF font name is MSung-Light.

PDF Encoding is UniCNS-UCS2-H (Chinese traditional)

TextField Expression Class is java.lang.String

is the info. enough?

Thanks.

in the attachment, the problematic field is textField-6. $P{ActivityName}

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