Olá pessoal,
estou com um problema de acentuação nos campos TextField do Jasper, quando tem uma expressão.
Outros objetos imprimem normal também, mesmo estáticos ou vinculados a um campo do Bean.
Por exemplo, o texto abaixo, imprime 100%, com os acentos e tudo mais:
<staticText>
<reportElement uuid="ec841e59-5488-4be3-86d9-c0c9fca70193" key="staticText-5" x="5" y="404" width="344" height="8"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement verticalAlignment="Middle">
<font fontName="SansSerif" size="6" isBold="false" pdfFontName="Helvetica"/>
</textElement>
<text><![CDATA[Instruções: (TODAS AS INFORMAÇÕES DESTE BOLETO SÃO DE EXCLUSIVA RESPONSABILIDADE DO CEDENTE)]]></text>
</staticText>
porém, o texto abaixo não imprime os acentos:
<textField>
<reportElement uuid="d25f9d04-09ce-4c23-8bf7-c8f731c34a8d" x="5" y="413" width="344" height="9"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA["Prostestar após " + Integer.toString($F{contaRemessa}.getPrazoDias()) + " dias úteis do vencimento"]]></textFieldExpression>
</textField>
Alguém já passou por isso?