Export markup html fields to csv, character encoding
Posted on September 27, 2016 at 7:47am
I have text field in Jasper report jrxml template marked as html. This property removes any HTML tags from text and it works fine as html export, as pdf, excel...etc.
Only issue is csv export. It shows strange characters on tags positions.
Changing default encoding from 'UTF-8' to 'ISO-8859-1' did not give results.
<property name="net.sf.jasperreports.export.character.encoding" value="ISO-8859-1"/>
Anyone knows solution?
Posted on September 27, 2016 at 11:29am
This solved issue
net.sf.jasperreports.export.csv.write.bom = true