2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: Pablo Paggi - larvamdp Printing variables in a report 2004-05-06 07:30 Hi again !! I need to print variables in a report. For this I use the getReportVariablesMap(ReportEnvironment environment) method an works fine. But I need to print some variables like this "Pa quot; and the character ' doesn't appear correctly, instead of it appears ' Ã' . I tried to fix the problem writing the parameter like this "País" but the error still appear. Please some help !! Thanks in advance. Pablo. By: Carlos Costa e Silva - carloscs RE: Printing variables in a report 2004-05-06 22:14 Add an encoding to the xml file: <?xml version="1.0" encoding="iso-8859-1"?> By: Manfred Moser - mosabua RE: Printing variables in a report 2004-05-06 10:10 You might want to try unicode references instead of html(xml) tags. E.g for the trademark symbol we use u2122 and it works fine for pdf. You should be able to get all symbol you need with this. Manfred By: Mark Engstrom - me2kme RE: Printing variables in a report 2004-05-07 01:33 I had a similar issue with German characters using Unicode character expressions as in the attached code seem to work OK. <textField isBlankWhenNull="true"> <reportElement x="242" y="5" width="320" Right="20"/> <textElement textAlignment="Left" lineSpacing="Single"> <font reportFont="Arial_Normal" size="15" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String">"Zahlungen im Au" + "u00DF" + "enwirtschaftsverkehr"</textFieldExpression> </textField> 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