tong123123 Posted May 4, 2010 Share Posted May 4, 2010 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 More sharing options...
teodord Posted May 6, 2010 Share Posted May 6, 2010 Hi, JR 0.6.4 is more than 5 years old now. However, what output type are we talking about? AWT, HTML, PDF? Is it about a styled text field? Can we see the report template? Thanks,Teodor Link to comment Share on other sites More sharing options...
tong123123 Posted May 6, 2010 Author Share Posted May 6, 2010 PDF.Because the jrxml is in my company and I am in home now, so I don't know whether it is styled text field, I will update this information when I return to company. Thanks. Link to comment Share on other sites More sharing options...
tong123123 Posted May 7, 2010 Author Share Posted May 7, 2010 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.Stringis the info. enough?Thanks.in the attachment, the problematic field is textField-6. $P{ActivityName} 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