Jump to content
We've recently updated our Privacy Statement, available here ×

danutzzza

Members
  • Posts

    3
  • Joined

  • Last visited

danutzzza's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hello, I also tried to modify the Jasper source JRHtmlExporter, and I added the following line to the exportReportToHtmlFile method: exporter.setParameter(JRExporterParameter.CHARACTER_ENCODING, "ISO-8859-2"); but the result was the same: a lot of question marks in the output. Dana
  2. The database is Oracle. I am sure that it stores the romanian caracters corectly beacause they are displayed correcty by my web application that reads them from the database. I have created a jrxml report that hase an sql that selects data from the database. I have set the report encoding to iso-8859-2: <property name="ireport.encoding" value="ISO-8859-2" /> I fill the report like this: parameters.put(JRParameter.REPORT_LOCALE, new Locale("ro", "RO","") ); jasperPrint = JasperFillManager.fillReport( jasperReport, parameters, conn); And then I export the report to html like this: JasperExportManager.exportReportToHtmlFile(jasperPrint, htmlReportsPath + reportName + ".htm"); When I look at the html source the romanian caracters are all replaced by question marks (?) What can I do to display them correctly? Thank you, Dana
  3. Hello, A have a report with a database datasource. The database charset is iso-8859-1. The html result of the report does not show correctly the romanian characters (like ş, ţ, etc). What can I do? Thank you, Dana
×
×
  • Create New...