Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Hisham Younis   on Dec 21 In Java Category.

  
Question Answered By: Faiza Mian   on Dec 21

This may help you:


JasperExportManager.exportReportToHtmlFile(jasperPrint,
htmlOutput .getPath());
String fileName = htmlOutput.getName();
String byets = FileUtil.read(htmlOutput);
String reportResult = new String(byets.getBytes(),
"UTF-8") ;

reportResult is an String in UTF-8 encoding.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on jasper report problem Or get search suggestion and latest updates.


Tagged: