我正在尝试从 iReport 中的 jrxml 文件生成 jasper 文件,我正在使用中安装的版本>的Eclipse
我的jrxml文件
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 5.6.1.final using JasperReports Library version 5.6.1 -->
<!-- 2014-10-01T07:50:10 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4_1" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c7223858-c808-485b-9ffa-11b9691e2622">
<queryString>
<![CDATA[]]>
</queryString>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="-1" y="0" width="181" height="30" uuid="62caa303-f0cd-45b2-88d5-466bd3c83793"/>
<textElement>
<font pdfFontName="" pdfEncoding="Cp1252" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[É]]></text>
</staticText>
</band>
</detail>
</jasperReport>
我的jasper文件编译
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 5.6.1.final using JasperReports Library version 5.6.1 -->
<!-- 2014-10-01T07:57:18 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4_1" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c7223858-c808-485b-9ffa-11b9691e2622">
<queryString>
<![CDATA[]]>
</queryString>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="125" splitType="Stretch">
<staticText>
<reportElement x="-1" y="0" width="181" height="30" uuid="62caa303-f0cd-45b2-88d5-466bd3c83793"/>
<textElement>
<font pdfFontName="" pdfEncoding="Cp1252" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[�]]></text>
</staticText>
</band>
</detail>
</jasperReport>
我尝试将 Eclipse 中的设置更改为文件编码或将 eclipse.ini 设置为 UTF-8 enconding和没有改变。
我的操作系统是 Windows 8.1 ,我需要使用带重音的单词。